HTML Report: Cascading Stylesheets
Cascading Stylesheets (*.css) can be used to format the appearance of a HTML report. You can link to an external .css file in the header of the report:
<HTML><HEAD><LINK rel="stylesheet" href="Validation.css" type="text/css">
<TITLE> Validation Errors</TITLE></HEAD>
<BODY> . ..
Instead of referencing an external .CSS file, you can also insert a style sheet definition directly into the header of the report.
<HTML><HEAD><STYLE type ="text/css">
BODY {
font-family: Verdana;
}
TD {
font-size: x-small;
margin: 0px;
padding: 3px;
border-style: solid;
}
#Lease {
background-color: #CCFFBF;
}
TABLE {
border-style: double;
}
#Target {
background-color: #D5FFFF;
}
#TotalDepth {
background-color: #FFF4CA;
}
#Dip {
background-color: #E5E5FF;
}
#Location {
background-color: #FFFFD6;
}
H2 {
font-size: medium;
}
TH {
font-size: x-small;
color: #003399;
text-align: center;
}
#TaskPersonnel {
background-color: #DDF0FF;
}
</STYLE><TITLE>Validation Errors</TITLE></HEAD>
<BODY> ...
For more information, see HTML Report: Using Placeholders.