> How do I make a tr tag change for every row.  I would like 
> alternating row
> colors.

Use the currentRow property of a query

<cfif (query.currentRow/2) eq int(query.currentRow/2)>
        <tr  bgcolor="C0C0C0">
<cfelse>
        <tr>
</cfif>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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

Reply via email to