Online Documentation for Advanced Data Export for RAD Studio VCL
TQExport4HTML.UsingCSS
property UsingCSS: TUsingCSS;
Description
The UsingCSS property sets the position of the style table (inside or outside the HTML file). With the usInternal setting the table is placed directly in the HTML file that can look, for example, as follows (Template = htClassic):
<Style type="text/css">
BODY background: #333399; color: #FFFFFF; font-family: Arial;
A:link color: #69EF7D
A:visited color: #FF00FF
A:active color: #00FF00
.ThRows background-color: #FF0000; color: #FFFFFF; font-weight: bold; text-align: center
.TrRows background-color: #007AEC; color: #FFFFFF
.TrOdd background-color: #006BCE; color: #FFFFFF
</Style>
If UsingCSS = usExternal, the text above will be placed in the file specified by the CSSFileName property, and in the HTML file itself there will be only one line
<link rel="stylesheet" type="text/css" href="Animals.css">
The use of the usExternal setting can be very helpful in case you create several HTML files; then to change, for example, the background color of the even table rows in all the created files it is enough to correct only one setting of the style file (in this example it is Animals.css).
More on the use of style tables in HTML documents see http://www.w3.org/TR/html4/present/styles.html.
See also: