|
![](/i/fill.gif) |
>> I'm still waiting for the day when you can take an ordinary <table>
>> element with no special markup, and style is so that each row as an
>> alternating background colour. :-P
>>
>> (Currently the only way to do this is to assign different style
>> classes to each row.)
>
> Off the top of my head I don't know which browsers support :nth-child(),
> but I'm betting the latest releases of IE don't. Tum te tum oh yes what
> a surprise it doesn't; the latest versions of Firefox do though so you
> can use it if you want.
I hadn't even heard about :nth-child. (What, still no :last-child yet?)
That still doesn't help me style a table with some arbitrary number of
rows, where I want the odd rows blue and the even rows yellow.
Post a reply to this message
|
![](/i/fill.gif) |