Posted by Usenet on 04/05/07 15:52
> when i use the css tr.odd attribute, nothing happens, odd rows are
> still white (Firefox 2 and IE 6)!!!!
Because what you've written defines a row class "odd", but you
haven't *used* it anywhere.
With what you've done you need to use
<tr class="odd">{Row Cells}</tr>
It works when you specify it as tr {background: #000} because this
sets up a styles for all table rows.
Might do to have another look at the specs about classes...
Happy Easter
Mark
Navigation:
[Reply to this message]
|