jaxdevil Posted September 15, 2008 Share Posted September 15, 2008 I have a section of an invoice (the back legal mumbo jumbo) and on the page I fill out all the data I do not want it showing, but when I print the page I want it to show up. I know how to block specific divs from being printed but still be displayed, but what I want to do with this one is just the opposite, block it from display but include it in the print. Any ideas? Thanks, SK Quote Link to comment Share on other sites More sharing options...
kenrbnsn Posted September 15, 2008 Share Posted September 15, 2008 This should be done via CSS, not PHP. Moving it to the CSS area. Ken Quote Link to comment Share on other sites More sharing options...
DarkWater Posted September 15, 2008 Share Posted September 15, 2008 You'd probably get this done by using display: none; on the block at first, then you'll want to make a new style sheet for the "print" media and display the block. 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.