View Single Post
10-31-2007, 02:28 PM
#10
Salathe is offline Salathe
Salathe's Avatar
Status: Community Archaeologist
Join date: Jul 2004
Location: Scotland
Expertise: Software Development
Software: vim, PHP
 
Posts: 3,820
iTrader: 25 / 100%
 

Salathe will become famous soon enough

Send a message via MSN to Salathe

  Old

Originally Posted by Andrew R View Post
Psh, semantics.
Hehe, sorry Andrew.

As for laying out my CSS, I'm quite often very, very anal about everything being precise. It goes far beyond indentation! Everything has to be neat and tidy, well ordered and clear even at a glance. Commenting discrete groups of styles and applying a logical structure to the CSS stylesheet as a whole is important. I'll even make sure to keep the declarations in alphabetical order by property. (That means 'background' comes before 'font' which comes before 'margin')

To unr who posted font: verdana, 12px, bold;, please make sure to read up on the order of the values and indeed how to write those values for the font property.