How to: |
You can apply external cascading style sheet (CSS) formatting to:
When formatting a tabular or free-form report, you can format any report component by assigning a CSS class.
We recommend that when you use an external cascading style sheet to format a report, you do not also use a StyleSheet to specify the report formatting, unless you also generate an internal cascading style sheet. For more information, see Combining an External CSS With Other Formatting Methods.
To apply an external cascading style sheet (CSS) class to a report component, use the following syntax in a StyleSheet declaration
TYPE = type, [subtype,] CLASS = classname, [when,] [link,] $
where:
Identifies the report component to which you are applying the class formatting.
Each report component can be formatted by one class. If you specify several classes for a report component:
Is an optional attribute and value needed to completely specify some kinds of report components. For example, COLUMN and a column identifier are needed to specify a particular report column.
Is the name of the cascading style sheet class whose formatting you are applying to the report component. You can assign the same class to multiple report components.
Class names can be up to 511 characters and are case-sensitive: you must use the same case found in the class rule in the external cascading style sheet. (Note, however, that some web browsers may not enforce case sensitivity.)
Is an optional WHEN attribute and value. Supply this if you want to apply the formatting conditionally.
Is an optional URL or JAVASCRIPT attribute and value.
For an example, see Applying a CSS Class to ACROSS Values in a Report.
WebFOCUS | |
Feedback |