Re: @media rules in IE 5 on Windows and Mac
Markus wrote:
>
> <style type="text/css">
> @import url("screen.css");
> @import url("print.css");
> </style>
>
> and surrounded the codes in screen.css and print.css with @media
> blocks. It works in Win IE 5.x like a charm, but now Mac IE 5 does not
> recognize the styles anymore.
MacIE does not support @media. You cannot make it do something it has no
understanding of. Even if you got it to recognize the rules at all, it
couldn't distinguish screen from print from any other media type and
would end up jumbling them all together.
> Is there any known way to apply media specific style sheets supporting
> IE 5.x on both Windows and Mac?
Personally, I see this as a huge waste of time and effort. IE 5.x
browsers have been pretty dead for a long time now. I suggest you let
them degrade gracefully and forget about trying to coerce them into
behaving like better browsers. Too frustrating for too little benefit.
My 2p.
--
Berg
|