|
Posted by Edwin van der Vaart on 04/05/07 21:14
Usenet wrote:
>> 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...
Something like [http://www.w3.org/TR/REC-CSS2/selector.html]
or [http://www.w3.org/TR/REC-CSS1#class-as-selector]
--
Edwin van der Vaart
http://www.semi-conductor.nl/ Links to Semiconductors sites
http://www.evandervaart.nl/ Edwin's persoonlijke web site
Explicitly no permission given to Forum4Designers, onlinemarketingtoday,
24help.info, issociate.de and software-help1.org to duplicate this post.
[Back to original message]
|