Gunlaug Sørtun wrote:
> The IE-bug that makes the '@import hack' work, also prevents proper use
> of attributes on a standardized property. This means it put limitations
> on future use of same property, and will continue to do so for as long
> as our support for those same buggers is a necessary part of web design.
The syntax for @import is pretty unique for CSS, to be fair to IE (we're
always so patronising).
I google searched the w3.org but couldn't find a list of recognised
media types. Does 'all' come into it? Would be better than 'screen',
seeing as IE cannot discriminate in this respect.
I still think the advantage of being able to specify, in one line, one
stlyesheet to be read /exclusively/ by compliant browsers and another to
be read /exclusively/ by IE is priceless. Something that conditional
comments can't do is to tell IE not to read a stylesheet, but let it
through to the rest.
There's something dangerously beautiful about a statement which makes
two convenient kinds of sense.
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/