I use this code...
<CFOUTPUT QUERY="YourQuery">
<tr bgcolor="#IIf(CurrentRow Mod 2, DE('##ffffff'), DE('##c0c0c0'))#">
<td>#blah#...#blah#...#blah#</td>
</tr>
</CFOUTPUT>
-----Original Message-----
From: Joshua Tipton [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 26, 2001 1:40 PM
To: CF-Talk
Subject: Row Color
How do I make a tr tag change for every row. I would like alternating row
colors.
Joshua Tipton
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists