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
Navigation:
[Reply to this message]
|