Previous Message
Next Message

Re: [css-d] multiple @imports

Sent by Eric A. Meyer on 29 January 2002 16:04


At 13:21 -0500 1/29/02, Timothy J. Luoma wrote:

>So they don't 'cascade' if they are brought in via @import but will
>cascade if they are LINK'd?

    No, you should be able to use multiple @import statements and have 
them all contribute their rules to the cascade.  In terms of bringing 
in styles from external stylesheets, @import is just the CSS 
equivalent of what link lets you do in HTML.  Browser implementations 
may be another story-- I've never done a widespread testing of 
multiple @imports-- but you should be able to list as many as you 
want at the beginning of a stylesheet.

--
Eric A. Meyer (http://www.meyerweb.com/eric/), List Chaperone
"CSS is much too interesting and elegant to be not taken seriously."
   -- Martina Kosloff
Previous Message
Next Message

Message thread: