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

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]


Удаленная работа для программистов  •  Как заработать на 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

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