> I'm trying to format CF output so that the query table rows are
> shaded grey
> and clear alternately.
>
> The below code works in Netscape, but in IE I get rows that are grey and
> black alternately. Of course, if I put something within the quotes of the
> 2nd DE, it works fine in IE. But I'd prefer to have the clear row
> so as not
> to conflict with my background image pattern. Any ideas (besides requiring
> my users to only use Netscape...)?
>
> <table border=0 cellspacing=0>
> <cfoutput query="search_catalog">
>
> <!--- start grey shading of alternate rows --->
> <cfif #search_catalog.recordcount# gt 2>
> <tr bgcolor="###Iif(((CurrentRow MOD 2) is 0),de('e0e0e0'),de(''))#">
> <cfelse>
> <tr>
> </cfif>
I'd put the whole of the bgcolor="..." into the iif;
<tr #Iif(((CurrentRow MOD 2) is 0),de('bgcolor="##e0e0e0"'),de(''))#">
HTH
Philip Arnold
ASP Multimedia Limited
T: +44 (0)20 8680 1133
"Websites for the real world"
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
**********************************************************************
------------------------------------------------------------------------------
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.
RE: IE question
Philip Arnold - ASP
Tue, 23 May 2000 10:38:53 -0700
- OT: IE <tr bgcolor...> question Ricq Pattay
- Philip Arnold - ASP
Reply via email to
Philip Arnold - ASP Tue, 23 May 2000 10:38:53 -0700
- OT: IE <tr bgcolor...> question Ricq Pattay
- Philip Arnold - ASP

