View Single Post
10-31-2007, 12:16 AM
#1
Andrew R is offline Andrew R
Status: Request a custom title
Join date: Dec 2005
Location: Arizona
Expertise:
Software:
 
Posts: 5,200
iTrader: 17 / 95%
 

Andrew R is on a distinguished road

  Old  [CSS] What kind of syntax do you use?

In the ChatWebDev IRC channel yesterday, we were talking about our different CSS syntaxes. I'm just curious what you all use.

I'm fond of the following:
Code:
.class {
	selector: value;
}
Though, also this can work for me (not what I use):
Code:
.class {
selector: value;
}
Code:
.class
{
	selector: value;
}
or any variation between those too.

What kinds do you like? I can't stand ones that make it nearly impossible to read, and very unorganized, like this one I've seen:
Code:
.class {
selector: value;}
.class {
selector: value;}