flemingmike Posted September 29, 2010 Share Posted September 29, 2010 hello, new to javascript, is there a way to make a print button that will print the page without headers and footers and also print it horizontal? Quote Link to comment https://forums.phpfreaks.com/topic/214758-print-question/ Share on other sites More sharing options...
Adam Posted September 30, 2010 Share Posted September 30, 2010 You can control how you want the page to look visually using CSS rules with the media type "print". To include an external print media style sheet you can use: <link rel="stylesheet" type="text/css" href="path/to/print-styles.css" media="print" /> Quote Link to comment https://forums.phpfreaks.com/topic/214758-print-question/#findComment-1117660 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.