June, 2009

CSS Specificity - Choosing between conflicting attributes

One thing always puzzled me when working with CSS style sheets - how do browsers interpret conflicting attributes?

Certainly the order in which attributes appear in the CSS files and the selectors used play an important role - but isn't there anything more to it?