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]
|