iif(CurrentRow mod 2,DE("Silver"),DE("White"))
works fine. Is this what you mean by "custom defined color" ?
-----Original Message-----
From: Stephen M. Aylor [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 31, 2000 12:28 PM
To: [EMAIL PROTECTED]
Subject: Re: Alternating the color of table rows
If your using custom colors - you might try
<cfoutput>
<cfif CurrentRow MOD 2 IS 0>
<tr bgcolor="Silver" >
<cfelse>
<tr bgcolor="##D7D7D7">
</CFIF>
blah.......
Now I have a question.
How would I use this style:
<TR bgcolor="#IIf(CurrentRow Mod 2, DE('ffffff'), DE('99ccff'))#">
With a custom defined color???
Steve
> How can I alternate the color of my table rows. What I'm trying to do is
> make every other row a light blue.
>
> thanks...
>
> Daniel Bogesdorfer
> Programmer/Analyst
> RSL COM USA INC
> Voice 412.244.6628
----------------------------------------------------------------------------
--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.