FWIW, if you use a CSS file. You could simply add
/* for ODD row alternation */ tr:nth-child(odd) {background:#f6f6f6} /* for EVEN alternation */ tr:nth-child(even) {background:#f6f6f6}
Best wishes.
--Chris
¡λɐp ʇɑəɹ⅁ ɐ əʌɐɥ puɐ ʻꜱdləɥ ꜱᴉɥʇ ədoH
In reply to Re: HTML::Template __even__
by taint
in thread HTML::Template __even__
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |