FAQ About Using External Cascading Style Sheets

This topic answers the most frequently asked questions (FAQ) about using external cascading style sheets (CSS) to format reports.

Does it answer your question? Please send in any questions that you may still have. Each question will get a response, and will also be considered for inclusion in a future release of FAQ. Any comments on this document are also welcome.

You can:

How do I specify a report's default formatting using CSS?

Specify default formatting for an entire report in an external cascading style sheet rule for the BODY or TD element.

Do I always need to use the CLASS attribute?

No. You need a CLASS attribute in a FOCUS StyleSheet if you specify formatting for an individual report component. You use CLASS to assign a rule for a generic class to the report component. When you specify formatting for the entire report, you do so in a rule for the BODY or TD element, not in a rule for a class, so you omit the CLASS attribute.

Can I use a cascading style sheet and a FOCUS StyleSheet together?

When linking to an external cascading style sheet, you can also specify native FOCUS StyleSheet attributes in a FOCUS StyleSheet. However, if you do not generate an internal cascading style sheet, you should not specify CSS classes (CLASS=) and native FOCUS StyleSheet attributes in the same FOCUS StyleSheet (except to specify conditional formatting, to specify a link to another resource, or to embed an image).

Which version of CSS does FOCUS support?

Support for different versions of cascading style sheets (such as CSS2) is determined entirely by your Web browser's support and implementation of cascading style sheets, not by FOCUS.

Which types of reports can I format using an external cascading style sheet?

You can format tabular reports, including regular (column-oriented) reports and Financial Modeling Language (FML, also known as extended matrix or row-oriented) reports.


Information Builders