Imported print style sheets

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.

This site is no longer maintained. I’m sorry, but it’s just too much work for too little return. You can continue to browse old bug reports, though.




Search reports by browser:

Atom RSS

Comments

(Add your own)

1 Posted by Alex Bischoff on 5 January 2005 | Permalink

Might a work around be to use a regular tag with the attribute media="print"? (This isn't intended sarcastically, in case that's ambiguous.)

2 Posted by Alex Bischoff on 5 January 2005 | Permalink

(That should say "link tag" above, but it looks like the less-than & greater-thans were lost.)

3 Posted by ppk on 6 January 2005 | Permalink

Don't know if that would work. Did you try it? What happened?

4 Posted by Wout on 7 January 2005 | Permalink

Am I missing something here..? The "link tag" works as you can see if you follow the "linked print" link on the testpage.

5 Posted by Chris Najman on 23 February 2005 | Permalink

This 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.