Kat wrote:
I'm beginning to think modular css using @imports are actually quite smart, not just for re-use reasons but also because if you do need to support really old and dodgy browsers (sometimes it happens to the best of us) you can create stylesheets for those, and then over-rule them in the statements contained in the css that you @import.

Exactly.
OTOH: too many @imported stylesheets may slow things down slightly on
first load on slow connections.

Digressing slightly: This is probably something everyone already knew, but I just discovered it this week and it's my cool thing of the week:

@import url("style.css") print;

Have you tried that in IE/win? I don't think it will be very cooperative
once you add a media attribute.
I use a version of that - without quotes - to provide IE/win with
separate stylesheets. Not a very nice hack, but it's a working
alternative to 'conditional comments'...
<http://www.gunlaug.no/contents/wd_additions_12.html>

With bits of your modular css, you can import those you have already written, for specific media (eg. printing)!!!! :)

I do that. I use @media for media-separation though - partly because of
the IE/win bug. @media is also useful for shutting out really old
browsers from (parts of) a stylesheet.

regards
        Georg
--
http://www.gunlaug.no


*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to