Iván -DrSlump- Montes <i...@...> writes:

> I think to recall that I could do zebra striping with TAL using something like
this:<tr tal:repeat="item list" class="row${repeat/item/odd}"></tr>That should
give you class names of 'row0' and 'row1', which you can style with CSS. Not the
cleanest solution but it did the job./imv

That is one way to do it. It is simplest code that I could imagine even if it is
not the prettiest results. However, I would like to only add a class attribute
on every other row.

PHPTAL mailing list

Reply via email to