Internet Explorer 5 renders elements incorrectly, and appears to apply your 'print' stylesheet instead of the correct 'screen' stylesheet for browser-based rendering.
Use the link element to include your print stylesheet in IE 5.x, as opposed to the @import rule.
Internet Explorer v. 5 will apply the rules in the print stylesheet to your onscreen (screen stylesheet) rules, which causes page elements to not show on screen and other oddities.
The solution is to use the "link" element rather than the @import rule. So you'd use this:
<link rel="stylesheet" type="text/css" href="stylesheet.css" media="print" /><style type="text/css" media="print">
<!--
@import "stylesheet.css";
-->
</style>You can view a test page here:
To add a comment, please Log in.
Minor updates/edits added...
by sfegette on December 19, 2006
- Updated title to be more specific to problem
- Minor edits to body copy
Thanks, Thierry!