As an example, here is how I link to a stylesheet on one site in the header
template:

<link rel="stylesheet" type="text/css" href="main.css" />

where main.css contains the following:

@import url(/css/global.css);
@import url(/css/typography.css);
@import url(/css/colours.css);
@import url(/css/filters.css);
@import url(/css/print.css) print;

in other words, I can swap out stylesheets from this file without having to
alter the link in the main header file, for instance to change colour and
design staples quickly.

On 10/24/06, Erik Visser <[EMAIL PROTECTED]> wrote:
>
> Christian Heilmann wrote:
> > I like @import, as it allows for modularization of CSS much more than
> LINKs do.
> >
>
> Can you explain a little more on modularization?
>
>


-- 
http://www.web-buddha.co.uk
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
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/

Reply via email to