Declarations can have normal weight or important weight. If there are still conflicting values for a given property of an element, the specificity sort prevails. The highest number wins. Style specified via the style attribute has infinite specificity. If styles have the same weight, origin and specificity, those specified at the beginning of the style sheet take precedence over those at the start.
Inline style is assumed to be read after embedded style, which is read after linked style.
Imported style sheets form the start of the importer's style sheet. All CSS is case insensitive. In practice, no browser except Netscape 5 supports this so you should ignore CSS escapes. These are used to state the location of, for example, a background image or list picture. Internet Explorer 3 will ignore URLs enclosed in quote marks.