Previous Message
Next Message

[css-d] Organizing Style Sheets

Sent by RUST Randal on 29 January 2002 12:12


>>Also I was wondering if anyone had any 'tips' for organizing style 
>>sheets.

When I write CSS, I try to keep things nice and neat by using comments to
separate sections.

/* POSITIONINING ELEMENTS */

#header {
	position: absolute
	and so on... }

/* HTML ELEMENTS */

body {
	margin: 0;
	and so on... }

/* CUSTOM HTML ELEMENTS */

.boldBlue {
	color: #000099;
	and so on... }

Randal
Previous Message
Next Message