Dojo Dijit and HTML5 in Real world applications/CSS/117 reasons why CSS dont work

The is so many possible errors when working with CSS. In this article I have collected some of the most common mistakes.

Too general declaration
A CSS declaration, that defines behaviour on top level elements may destroy detailed declarations. This happen if the declaration is placed after detailed declarations.

The order of CSS file declarations are wrong
The last file declared in the header takes preference, and overwrite declarations carried out in files declared earlier.

Don't use the title when declaring a CSS file in the Header
Only the first file will be loaded if two files have a title..

Verified in
IE 8, Firefox 3.6.22, Dojo 1.6.1