[thelist] Alternating Rows
.jeff
jeff at members.evolt.org
Mon Oct 7 13:21:04 CDT 2002
ben,
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> From: Ben Dyer
>
> Does anybody have any suggestions, comments, ideas on
> how to approach this problem?
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
if you only need to support ie, then using a css expression would do the trick. something like this (beware of wrap):
.data tbody td {
background-color: expression((this.parentElement.rowIndex % 2 == 0) ? 'buttonface' : 'window');
color: expression((this.parentElement.rowIndex % 2 == 0) ? 'buttontext' : 'windowtext');
}
enjoy,
.jeff
http://evolt.org/
jeff at members.evolt.org
http://members.evolt.org/jeff/
More information about the thelist
mailing list