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>

[etc.]

~~~~~~~~~~~~~~~~~~~~~~~~
Ricq Pattay <[EMAIL PROTECTED]>
Univ of MN College of Veterinary Medicine



------------------------------------------------------------------------------
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.

Reply via email to