in reply to Odd and even table rows

This (w3.org) document says you can use Cascading Style Sheets directly without setting the style element:
tr:nth-child(even) {background: #CCC} tr:nth-child(odd) {background: #FFF}
Untested, and see warning on browser support.

--
Andreas

Replies are listed 'Best First'.
Re^2: Odd and even table rows
by huzbgh (Acolyte) on Aug 08, 2007 at 18:59 UTC
    According to this comparison chart, nothing really supports this CSS 3 pseudo-class yet. It may be that recent nightly builds of Firefox or some other OSS browser would have support, but I'd doubt it.