Some white space within CSS declarations is permissible, even recommended. We are no longer dealing with HTML, so indentation of properties is possible.
Acceptable:
p { font-size:24pt; color:#000000; text-align:left; }
Also Acceptable:
p { font-size:24pt; color:#000000; text-align:left; }
When you have a large number of properties in a declaration, you may wish to place each property on its own line, indenting the properties in the manner shown above; this is perfectly acceptable, even de rigeur, making the CSS easier to read and analyze.
Copyright © 2001 Michael Masumoto. All Rights Reserved.