Generating an Internal Cascading Style Sheet

In this section:

When you select HTML format for your report, you instruct FOCUS to generate HTML code to specify its formatting. You can optimize this process by generating an internal cascading style sheet as part of the output, in which case FOCUS places an internal cascading style sheet in the <head> of the HTML document. This, in turn:


Top of page

x
Selecting a Unit of Measurement

How to:

You can choose inches, centimeters, or points as the unit of measurement for page margins and column widths in HTML reports that include an internal cascading style sheet.

To set the unit of measure, use one of the following:

If you change the unit, existing measurements are automatically converted to the new scale. For example, if you set UNITS to inches and set the top margin to 1, and later change UNITS to centimeters, the top margin automatically converts to 1 centimeter.



x
Syntax: How to Generate an Internal Cascading Style Sheet

To generate an internal cascading style sheet as part of the HTML report output, do the following:

where:

ON

Generates an internal cascading style sheet in the HTML output to control most aspects of the report's appearance.

OFF

Turns off the generation of an internal cascading style sheet. Instead, formatting tags are placed in each HTML table cell used to create the report. This is the default.

When generating an internal cascading style sheet, you can also apply an external one in the same request. Should the formatting instructions for a report component conflict, the internal cascading style sheet specifications override the corresponding specifications in the external cascading style sheet, thus providing a mechanism for runtime adjustment of external CSS settings.


Information Builders