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? 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" /> Link to comment https://forums.phpfreaks.com/topic/214758-print-question/#findComment-1117660 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.