<td bgcolor="###IIF(query.currentrow MOD 2, DE ('F4F4F4'), DE ('D9FFFF'))#">


-kev


~~~~~~~~~~~~~~~~~
Kevin Mansel
Senior Web Developer
Fox Communications
[EMAIL PROTECTED]
DL : 425-649-1321
C : 425-346-7221



-----Original Message-----
From: Chad Gray [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 21, 2001 11:39 AM
To: CF-Talk
Subject: Alternating BG colors on a <TD>


I have done this in the past, but cant remember how i did it.

When using a <CFOUTPUT QUERY=""> tag on a table how do i get every other 
<TD> to have a background color?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to