Just as another way to do it ... if you know the browsers support it, you can use the "odd" and "even" selectors:
Yes, this probably isn't as useful today as it will be 5 years from now :(tr:nth-child(odd): ... tr:nth-child(even): ...
In reply to Re: Odd and even table rows
by duff
in thread Odd and even table rows
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |