Click to See Complete Forum and Search --> : Firefox Print Preview Problem . . .


Twilife
07-25-2006, 11:20 PM
Hello all,

I've discovered what appears to be a bug with Firefox's print preview feature. Maybe this is a known quirk of the browser, but, all the same, it's new to me. At the top of my HTML document, I specify a CSS document for print, and give it the media type of "print." I've checked my code, and know it to be correct. The CSS file is in the correct directory, and the link to that directory is accurate.

<link rel="stylesheet" type="text/css" media="print" title="print" href="/web/common/styles/print.css" />

IE6 has no problem whatsoever accessing and applying the file.

Has anyone else encountered this bug, and, if so, have you found a workaround?

Centauri
07-25-2006, 11:41 PM
This has always worked for me with FF - do you have a link to the page in question? - could be something else causing this to fail.

Cheers
Graeme

ray326
07-25-2006, 11:50 PM
Have you tried using the media at-rule instead of the HTML link?

http://www.w3.org/TR/CSS21/media.html