Forum Moderators: open
Please excuse me if this is a very easy question but I have a web page with some black text on a grey background, looks fine in the browser, but when I print preview it the background is white and when I print it it's also white. This is only a problem in IE, Netscape prints it fine. The page uses CSS not sure if this is relevant.
Any ideas on how to fix this would be appreciated thank you :-)
Thanks for your welcome.
I havent tried a specific media="print" css file, I was hoping to avoid having to write one of these for all of my pages. It seems that every background colour applied to a div class via css is ignored during print preview in IE6.
Can this really be true? And is there an easier solution than hand crafting a css file for every page on the site?
Hope so, many thanks for your efforts, blakpawn.
I believe this is unticked by default.
Regarding print stylesheets, you can embed print styles directly into your normal stylesheet by using an @media rule [w3.org]:
@media print {
body { font-size: 10pt }
}