Imported style sheets cascade and their weight depends on their import order. Rules specified in a given style sheet override rules imported from other style sheets. Imported style sheets can themselves import and override other style sheets, recursively, and the same precedence rules apply.
On 5/1/07 1:22 PM, "Lori Lay" <[EMAIL PROTECTED]> wrote: > Todd Edwards wrote: >> Quote from css-discuss.incutio.com: >> >> Why not put @import at the bottom of simple.css? >> >> According to the CSS specs, @import rules must precede any other CSS rules >> in a stylesheet, so this creates the need to place it in its own stylesheet >> for these purposes. >> >> >> > > Thanks Todd, but that wasn't my question. I know where the import > directive has to go, I wanted to know where the rules wound up after > processing. It's odd because the Web Developer toolbar shows them > coming after the styles in the main style sheet, so I was just making > sure I understood things correctly. > > Please include the list in your replies. > > Thanks, Lori > ______________________________________________________________________ > 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/ ______________________________________________________________________ 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/
