[thelist] css: background-color

Russell Griechen russgri at bellsouth.net
Tue Oct 1 09:39:00 CDT 2002


I use class selectors:
.even {background: #fff;}
.odd {background#f5f5f5;}
<tr class="even">
or
<td class="even">
but there are some sophisticated row and column selectors at:
http://www.westciv.com/style_master/academy/css_tutorial/selectors/row_selec
tors.html
http://www.westciv.com/style_master/academy/css_tutorial/selectors/

Russell Griechen

> I output a list in alternating background colors per row. The first one
> has a white background, the second a grey background and the third a
> white one again.





More information about the thelist mailing list