Gunlaug Sørtun wrote:>

In document: 'link' with relative path.
I use 'style' for adding page-specific, and often media-dependent,
styles, but do not use @import in documents.

- All browsers understand 'link', and some don't understand anything else.
- I do not separate browsers on this level.

In stylesheets: I use @import to group together a (small) number of
stylesheets for a specific layout.

- Saves me from having to copy/paste together well-working bits and
pieces every time I create a new layout.
- Makes it easy to filter/separate browsers on CSS level.
- Makes it easy to separate media on CSS level.
- I'm lazy ;-)

But it's a good lazy!
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.

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;

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

Kat




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

Reply via email to