Previous Message
Next Message

RE: [css-d] How do *you* organize your CSS files?

Sent by Lindsay Evans on 29 January 2002 23:11

> how does everyone else format their css files?

by type, sorta...

tags in one section (p, h*, ul, li, etc.)

links in another

then classes & ids

it all tends to get a bit weird when I want something like:

p#menu > a.menuitem:focus

though :o)

as for code formatting, I'm a one-line-per-property-value kinda person:

p {
	font-family: tahoma, arial, sans-serif;
	color: #c9f;

(and the space after the selector, gotta have that! (even though I *hate* it
when its done in ECMAScript, PHP, etc. :o))

 Lindsay Evans.
 Red Square Productions.

 [p] 8596.4000
 [f] 8596.4001
Previous Message
Next Message

Message thread:

Possibly related: