[thelist] CSS to replace TD bgcolor

Paul Backhouse paul.backhouse at 2cs.com
Wed Jul 17 09:42:01 CDT 2002


td{
	background-color:#FFFFFF;
}

-----Original Message-----

Quick question, since I'm not as well up yet on CSS as I'd like to be.

Is there something I can do in a style sheet so that instead of

<TD BGCOLOR=#E1DEEB>

I can have <TD class="aa"> ?

(I have a complex, frequently used page to do. Since it's so frequently
used, it's important that the code be as lean as possible, and I'd like to
be able to save those five characters, especially as this code appears
multiple times.)

Cheers,
Drew.





More information about the thelist mailing list