BigMark wrote:
this piece of script makes alternate row colours, but i want the rows to be
coloured in blocks of 8. So the first 8 rows are white then the next are
mauve etc etc.
Alternatively i could make the rows all the same colour , but i need a blank
row after each 8 rows.? Any ideas
On Sat, Jun 05, 2004 at 04:54:33PM +0200, Marek Kilimajer wrote:
BigMark wrote:
this piece of script makes alternate row colours, but i want the rows to
be
coloured in blocks of 8. So the first 8 rows are white then the next are
mauve etc etc.
Alternatively i could make the rows all the
On Sat, 2004-06-05 at 11:21, James Kaufman wrote:
$bgcolor = ($i % 16 8) ? #ff : #ff;
print tr
bgcolor='$bgcolor'td$item_1/tdtd$item_2/tdtd$item_4/tdtdcen
ter$item_5/center/td/tr\n;
You probably want to do:
$bgcolor = (($i % 16) 7) ? #ff : #ff;
Since $i % 16 will rotate
3 matches
Mail list logo