query report heading/cell font different color
this code below queries and outputs a report
how do you make the heading a different color bothe text/font
and the color of the cel
for ex. just like the columnaname columnaname2
value valueboth columnname have different font color and
style. and the cel has a different color other than white.
where do you put this code in the code below?thanks
<cfquery name="GETCOS"datasource="#Request.MainDSN#">
SELECT
COMID,COMName,Address,City,State,ZipCode,
FROM
COM
ORDER BY
COMName ASC
</cfquery>
<html>
<head>
<title>ColdFusion practice</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<h1>COM List</h1>
<TABLE width=100% align="left" border="4" rules="all">
<tr>
<td><b>ID</b></td>
<td><b>Name</b></td>
<td> </td>
</tr>
<cfoutput query="GETCOS">
<tr>
<td>#COMID#</td>
<td>#COMName#</td>
<td>
<a href="COMEditForm.cfm?COMID=#COMID#">Edit</a>
</td>
</tr>
</cfoutput>
</TABLE>
</body>
</html>