Reply to Re: Table with Alternating Color Columns and Colspan

Your name:

Reply:


Posted by Jonathan N. Little on 11/13/06 14:53

mclagett@gmail.com wrote:
> There isn't a way to automatically do it with HTML. You could do it
> using PHP or something do use a counter to keep track of how many rows
> there are, then do something like:
>
> if($rowcount % 2 == 0 )
> class = even
> else
> class = odd
>
> that's just pseudo-code, but it should put you in the right direction.
>

No. But what you describe in pseudo-code could be done with a
server-side script.


--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

[Back to original 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

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