Forum Moderators: phranque
with css you set a class not to dispaly when someone tries to print
/*printer styles*/
@media print{
/*hide menuSection when printing*/
#menuSection{display:none;}
}
or have a print css file which sets someClass display property to none - you include it like this
<link rel="stylesheet" type="text/css" href="/css/print.css" title="print" media="print" >
CSS Print Profile [w3.org]
<added>An easy way to test your print style sheet before sending the page to the printer is to use the Print Preview option in IE. This will give you a good idea of what the page will look like when it is printed before wasting all that paper. I've been there and done that before I realized the Print Preview would have saved me hours of testing and research.
I used media print{} with 5.5 and never saw a problem.
Interesting. Well, there was something that I did that caused a problem, and the problem went away when I hid the CSS file that dealt with printing from IE5 and IE5.5. Now you have to use IE6 (or Mozilla or Opera or whatever) to get the formatted print from my site.
You can also use alternate style sheets - which don't work under any version of IE - to print large font versions of pages.