Sent by Bill Merikallio on 14 August 2004 18:06
On Aug 14, 2004, at 12:42 AM, Syntactic: Jim Wilkinson wrote:
> Hi Michael,
>
>>> > <style type="text/css">
>>> > @import url("/css/real.css") screen;
>>> > @import url("/css/unreal.css") screen;
>>> >
>>> > </style>
>
>> It does not seem to
>> be recognized by IE6.
>
> Your syntax is valid but, in general, support for @import is not fully
> robust across browsers. In your case, you are using @import with a
> medium specified *and* you have enclosed them in a <style> element
> (without a medium specified). That combination might well be too
> complex for IE6 to handle.
>
> My suggestion would be to avoid specifying media on @import, e.g. you
> could have:-
FWIW, I think this 'hack' could be used to hide styles from IE.
<link href="dinobrowsers.css" rel="stylesheet" type="text/css">
<style type="text/css"><!--
@import url(iesucks.css);
@import url(realbrowsers.css) screen;
--></style>
Bill
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/