Bobby,

If I do that every row will have a background color.  I only want to do
every other row.

Steve LaBadie, Web Manager
East Stroudsburg University
200 Prospect St.
East Stroudsburg, Pa 18301
570-422-3999
[EMAIL PROTECTED]
http://www.esu.edu

-----Original Message-----
From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] 
Sent: Friday, December 01, 2006 12:59 PM
To: CF-Talk
Subject: RE: Table Cell Height Question

As much as it pains me to recommend doing ANYTHING with a font tag, try
putting style="background-color: #FFFF00;" on the font tag. ;-)

...:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
 

 

-----Original Message-----
From: Steve LaBadie [mailto:[EMAIL PROTECTED] 
Sent: Friday, December 01, 2006 11:45 AM
To: CF-Talk
Subject: Table Cell Height Question

I am pushing data in a tabular format with alternating colored rows.  Is
there a way to reduce the height of the cell so the colored background
hugs the data?

 

Code:

 

<style type="text/css">

....alt {

            background: #f2f2f3;

}

</style>

<tr <cfif currentrow mod 2> class="alt"</cfif>><td><a
href="EmpDetail.cfm?emp_id=<CFOUTPUT>#URLEncodedFormat(queryGrid.e_emp_i
d)#</CFOUTPUT>&<CFOUTPUT>#transitparams#</CFOUTPUT>"><font
style="font-size: 8pt; color: #BD2925; font-family: Verdana, Arial,
Helvetica,
sans-serif;"><cfoutput>#HTMLEditFormat(fldname)#</cfoutput></font></a>&n
bsp;&nbsp;</td>

<td><font style="font-size: 8pt; color: #000000; font-family: Verdana,
Arial, Helvetica,
sans-serif;"><cfoutput>#HTMLEditFormat(fldtitle)#</cfoutput></font></td>

<td><font style="font-size: 8pt; color: #000000; font-family: Verdana,
Arial, Helvetica,
sans-serif;"><cfoutput>#HTMLEditFormat(flddep_id)#</cfoutput>&nbsp;&nbsp
;</font></td>

<td><font style="font-size: 8pt; color: #000000; font-family: Verdana,
Arial, Helvetica,
sans-serif;"><cfoutput>#HTMLEditFormat(fldwork_phone)#</cfoutput>&nbsp;&
nbsp;</font></td>

<td><font style="font-size: 8pt; color: #BD2925; font-family: Verdana,
Arial, Helvetica,
sans-serif;"><cfoutput>#fldemail#</cfoutput>&nbsp;</font></td></tr>

 

 

Steve LaBadie, Web Manager
East Stroudsburg University
200 Prospect St.
East Stroudsburg, Pa 18301
570-422-3999
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 
http://www.esu.edu <http://www3.esu.edu> 

 







~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:262474
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to