Reply to Re: Table with Alternating Color Columns and Colspan

Your name:

Reply:


Posted by mclagett@gmail.com on 11/13/06 06:23

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.

cho.cabot wrote:
> Is there a way to create a table that does the following:
>
> - has columns with alternating color backgrounds
> - has a cell with a colspan of 2 and contains an image with a
> transparent background that still maintains the alternating background
> colors of the columns
>
> Thanks for your help.

[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

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