> From my reseach I conclude that if I need to format date and
> dollar fields in a table AND set the font, I will have to use
> CFGRID. I don't see any examples of how to do BOTH with either
> CFTable or HTML table. I can format date/dollar fields with
> CFTable but not set font. I can set font in HTML table but not
> format. I'm a newbie with CF, have I missed something?
You can certainly format HTML tables and their contents any way you like:
<table>
<tr>
<th>Date</th>
<th>Amount</th>
</tr>
<cfoutput query="myquery">
<tr>
<td><font color="blue">#DateFormat(mydate, "mm/dd/yyyy")#</font></td>
<td><font color="red">#DollarFormat(myamount)#</font></td>
</tr>
</cfoutput>
</table>
Keep in mind that fonts and styles are all controlled using HTML tags and
CSS attributes.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
------------------------------------------------------------------------------
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.