Right. Define a base style for <tr> and only modify it
on the odd (or even)
rows.
--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"Michael Fesser" <netizen@gmx.de> wrote in message
news:dfara4htk3jjb0l8c229tp6hpba3ct3l6d@4ax.com...
> .oO(Murray *ACE*)
>
>>In PHP, it could be as simple as this -
>>
>><?php
>>
>>$toggle=0;
>>
>>?>
>><tr class="<?php echo
$toggle?'odd':'even';$toggle = !$toggle; ?>">
>>
>>where 'odd' and 'even' are CSS custom classes
specifying row background
>>color.
>
> I do it in a similar way, but I apply a class only to
every second row,
> which is enough.
>
> Micha