Page is a not externally linkable
- Code, Content, and Presentation
-- CSS
---- CSS order for text-formatting


starway - 7:19 am on Oct 17, 2002 (gmt 0)


There's absolutely no any difference in what order do you write CSS properties in styles.
I just want to tell about another - reduced length - type of records:

.foo {
font: italic bold 1.2em Verdana, Geneva, Arial, Helvetica, sans-serif;
text-decoration : underline;
text-align : right;
}

This is exactly the same as the one you posted. It can be useful for reducing styles file size, and to make it look more compact.
But here order matters! It should be this:

font: <font-style> <font-weight> <font-size> <font-family>

If you do it this way exactly, it will work in all browsers (including old NN4).


Thread source:: http://www.webmasterworld.com/css/352.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com