Eoin Maguire wrote: > What I'm wondering is if I declare a class, let's call it 'BOX' in my > homepage.css and just give it widths and heights etc, and then in styles.css > I also have the 'BOX' class but with font-size, font-weight declared in it, > does it all amalgamate into one style declaration as far as the browsers are > concerned when an import is done, or does one class overrule the other? >
The "amalgamation" you are talking about is the cascading in cascading style sheets. The browser gathers styles for a given element from every place it can -- browser default styles, external style sheets, embedded styles, inline styles, etc. Only when properties conflict does the browser have to decide which one overwrites another, but it's perfectly fine to have those properties divided up into multiple rules in multiple sheets for the same element. Zoe -- Zoe M. Gillenwater Design Services Manager UNC Highway Safety Research Center http://www.hsrc.unc.edu ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- 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/
