<table>
<cfoutput>
<tr class="defaulttext" bgcolor="#IIf(CurrentRow Mod 2, DE('F8C084'),
DE('E2F2F8'))#">
....
</cfouttput>
</table>
-----Original Message-----
From: Discover Antartica [mailto:[EMAIL PROTECTED]
Sent: Monday, January 31, 2005 3:02 PM
To: CF-Talk
Subject: Re: How do you change the color of each row?
is there a way to do this without CSS?
Barney Boisvert <[EMAIL PROTECTED]> wrote:
tr.alt1 td { background-color: #fff; }
tr.alt0 td { background-color: #ffc; }
...
Obviously the CSS belongs in an external stylesheet, rather than inline.
cheers,
barneyb
On Mon, 31 Jan 2005 12:51:10 -0800 (PST), Discover Antartica
wrote:
> Hello,
>
> I would like to display the output in such a way that the rows display in two
> colors alternatively. I am doing this to make the output more readable. Is
> there a way to do it? I think you use IIF function? but I cant remember
>
>
--
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/
Got Gmail? I have 6 invites.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking
application. Start tracking and documenting hours spent on a project or with a
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:192436
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