• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

query report heading/cell font different color

New Here ,
Jul 06, 2006 Jul 06, 2006

Copy link to clipboard

Copied

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>
TOPICS
Advanced techniques

Views

327

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , Jul 07, 2006 Jul 07, 2006
duplicate thread

Votes

Translate

Translate
Contributor ,
Jul 07, 2006 Jul 07, 2006

Copy link to clipboard

Copied

In your style sheet, you can define fonts and colors for the TH tag (table heading) and then use TH instead of TD for your headings.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jul 07, 2006 Jul 07, 2006

Copy link to clipboard

Copied

LATEST
style sheet, you can define fonts and colors for the TH tag (table heading) and then use TH instead of TD for your headings.
?



thanks how do i do that.??

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jul 07, 2006 Jul 07, 2006

Copy link to clipboard

Copied

duplicate thread

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation