Thank you. One question, in this part of the code: <cfloop from="1" to="10" index="i">
How would I make it infinite? I don't want it to end at the 10th row? Robert O. -----Original Message----- From: jonese [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 02, 2004 1:35 PM To: CF-Talk Subject: Re: mod command to alter row color put this in your tr tag <cfif query.CurrentRow MOD 2 EQ 0>bgcolor=##000000<cfelse>bgcolor=##fffff</cfif> it think that's right. On Tue, 2 Nov 2004 13:24:19 -0500, Robert Orlini <[EMAIL PROTECTED]> wrote: > I know this is an easy one, but can't find the right code. > > How do I have CF alternate color for each row of a table? > > Anyone have the code please? > > Thanks. > > Robert O. > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=34 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:183186 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54