>
> <tr id="trcol[% IF loop.count % 2; "1"; ELSE; "2"; END %]">
> <td>[% report.DSTRCT_CODE %]</td>
> <td>[% report.WORK_ORDER %]</td>
> <td>[% report.CREATION_DATE %]</td>
> <td>[% report.LAST_MOD_DATE %]</td>
> <td>[% report.ORIGINATOR_ID %]</td>
> <td>[% report.SURNAME %]</td>
> <td>[% report.FIRST_NAME %]</td>
> </tr>
I don�t think that would be valid html?
All "id" must have unique values.. :-)
<tr class="trcolstyle [% IF loop.count % 2; "odd"; ELSE; "even"; END
%]">
I believe it's ok with several classes for an element, the styles will
be merged in a hopefully predicable way, at least that have worked well
for me when I ha tried it.
--
Kenneth Ekdahl ([EMAIL PROTECTED]), ([EMAIL PROTECTED])
http://sensei.nu http://merit.sensei.nu
_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://lists.template-toolkit.org/mailman/listinfo/templates