View Single Post
10-31-2007, 02:53 AM
#10
Lance... is offline Lance...
Lance...'s Avatar
Status: Member
Join date: Jun 2007
Location: East Yorkshire, England
Expertise:
Software:
 
Posts: 112
iTrader: 1 / 100%
 

Lance... is on a distinguished road

Send a message via MSN to Lance...

  Old

Code:
.class {
	attribute: value;
        attribute: value;
        attribute: value; }
Recently I've started putting the closing bracket at the end of the last attribute, just to save that extra line. They mount up in a big script!

I also group certain attributes which are similar such as:

Code:
.class {
	height: value; width: value;
        padding: value; margin: value; }
Just seems natural to have those on the same line

Peace, Lance