You could use HTML in a similar way
<table <cfif CurrentRow MOD
2>bgcolor="#000000"<cfelse>bgcolor="#FFFFFF"</cfif> width="100%" border="0">
I haven't tested, but that's the idea.
Ray
At 04:02 PM 1/31/2005, you wrote:
>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.
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:192438
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54