Monday, February 24, 2014

Controlling the Report Presentation - Changing the font color on a report

Changing the font color on a report is accomplished by specifying the color style property. Add this class to your style sheet:

.ReportStyle
{
   background-color : OldLace;
   font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
   color : #663300;
}

Colors can be specified using actual color names (“Red”, “Green”, “OldLace”) or using HTML hexadecimal color codes (“#663300”). Edit your style sheet class now to contain this information.

The TopStyle Lite style sheet editor includes a useful Color Picker tool that will display hexadecimal color codes.

Figure 4.7: The TopStyle Lite Color Picker Tool

You can invoke the Color Picker in TopStyle Lite by selecting the Color … menu option for a style color property. 

Accuracy of color rendition is frequently dependent on factors such as the browser and video hardware being used to view a report. Accurate translation to a printed page can also be highly variable.

No comments:

Post a Comment