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: Quote Link to comment Share on other sites More sharing options...
kenrbnsn Posted December 27, 2007 Share Posted December 27, 2007 Not a PHP issue. Quote Link to comment Share on other sites More sharing options...
revraz Posted December 27, 2007 Share Posted December 27, 2007 CSS can do it. Quote Link to comment 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 Quote Link to comment Share on other sites More sharing options...
ccrevcypsys Posted December 27, 2007 Author Share Posted December 27, 2007 thats what i figured thanks Quote Link to comment 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. Quote Link to comment 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 Quote Link to comment 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.