You are here: Re: css odd rows not working « HTML « IT news, forums, messages
Re: css odd rows not working

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.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация