ccrevcypsys Posted December 27, 2007 Share Posted December 27, 2007 get rid of the header and footers from a page when you print it? if so what code would i use javascript or php or css? heres a live ex: Link to comment https://forums.phpfreaks.com/topic/83401-can-you/ Share on other sites More sharing options...
kenrbnsn Posted December 27, 2007 Share Posted December 27, 2007 Not a PHP issue. Link to comment https://forums.phpfreaks.com/topic/83401-can-you/#findComment-424312 Share on other sites More sharing options...
revraz Posted December 27, 2007 Share Posted December 27, 2007 CSS can do it. Link to comment https://forums.phpfreaks.com/topic/83401-can-you/#findComment-424313 Share on other sites More sharing options...
kenrbnsn Posted December 27, 2007 Share Posted December 27, 2007 No, CSS can remove items from your page that you have control over, but what the OP is talking about are the headers and footers put on the page by the browser. You might be able to control it via Javascript, but I'm not sure. I'm moving this to the Javascript area. Ken Link to comment https://forums.phpfreaks.com/topic/83401-can-you/#findComment-424318 Share on other sites More sharing options...
ccrevcypsys Posted December 27, 2007 Author Share Posted December 27, 2007 thats what i figured thanks Link to comment https://forums.phpfreaks.com/topic/83401-can-you/#findComment-424322 Share on other sites More sharing options...
lachild Posted December 27, 2007 Share Posted December 27, 2007 Last I checked this can not be removed by javascript either. It's a print setting within the browser itself. IE and Firefox set these up in different places. You can however generate a PDF for print and that will get rid of the header and footer on the printout. Link to comment https://forums.phpfreaks.com/topic/83401-can-you/#findComment-424340 Share on other sites More sharing options...
lachild Posted December 27, 2007 Share Posted December 27, 2007 Sorry the server can output a PDF instead of an HTML page to print the document out with out the Header/Footer Link to comment https://forums.phpfreaks.com/topic/83401-can-you/#findComment-424344 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.