This site heavily relies on bug reports created by its readers. Anyone can report a bug and be published.
Main navigation:
Search reports by browser:
Explorer 5.5 Windows and below see an imported print style sheet as a normal screen style sheet.
Test page. Workaround is not included.
Reported by ppk.
Explorer 5-6 Windows | Reported on 5 January 2005.
Posted by Alex Bischoff on 5 January 2005
2(That should say "link tag" above, but it looks like the less-than & greater-thans were lost.)
Posted by ppk on 6 January 2005
3Don't know if that would work. Did you try it? What happened?
Posted by Wout on 7 January 2005
4Am I missing something here..? The "link tag" works as you can see if you follow the "linked print" link on the testpage.
Posted by Chris Najman on 23 February 2005
5This was tested using an @import stylesheet for media="print" and another for media="screen".
Each stylesheet contained only a declaration for h1.
Make sure that for any declaration in the print style sheet that says 'display:none;' there is a corresponding declaration in the screen style sheet that says 'display:block' or 'display:inline' (depending on the element).
In my test I put 'display:block' in the screen style sheet and 'display:none' in the print style sheet.
Finally, I made sure that the @import media="screen" stylesheet was below the media="print" stylesheet on the html page.
This worked on IE 5.5 ie the media="screen" stylesheet overrode the 'display:none' declaration in the media="print" stylesheet and displayed the contents of the h1.
Commenting guidelines:
Posted by Alex Bischoff on 5 January 2005
1Might a work around be to use a regular tag with the attribute media="print"? (This isn't intended sarcastically, in case that's ambiguous.)