By the way, one more method: (Again, assume inside a query)
<tr class="row#currentrow mod 2#"> This should return class="row0" and class="row1" for each row. You can then define different background colors or even text for the alternating rows. ======================================================================== === Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc (www.mindseye.com) Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia) Email : [EMAIL PROTECTED] Blog : www.camdenfamily.com/morpheus/blog Yahoo IM : morpheus "My ally is the Force, and a powerful ally it is." - Yoda > -----Original Message----- > From: Scott Ashman [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 03, 2003 2:47 PM > To: CF-Talk > Subject: Re: code snippets > > > Alternate color : > > <CFSET BGCOLOR = ""> > <CFLOOP> > <tr><td BGCOLOR="#BGCOLOR#">Text</td></tr> > <CFIF BGCOLOR IS ""><CFSET > BGCOLOR="##cccccc"><CFELSE><CFSET BGCOLOR=""></CFIF> > </CFLOOP> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Get the mailserver that powers this list at http://www.coolfusion.com

