Creating the CSS Definition File

To prepare the CSS definition file, follow the steps below:

1. Create a CSS file (UTF-8 format, without BOM) that contains the desired Class, ID, or Type definitions. The formatting specified in the CSS file will be applied to all elements that are assigned the given Class or ID (see Applying CSS Styles), or that are of the specified Type.

a. To specify a Class definition, use the following syntax:

.HighlightColumn {

   background-color: yellow;

   ...

   ...

}

b. To specify an ID definition, use the following syntax:

#SalesTable {

   background-color: #FFEEBB;

   ...

   ...

}

c. To specify a Type definition, use the following syntax:

Table Detail {

   background-color: #FFEEBB;

   ...

   ...

}

The Type definition applies styles universally to all element regions of a particular type (e.g., all table detail cells). You can find the 'Type' of an element region in the CSS tab for the selected element.

 

Formatting based on Type for a particular element region is super­seded by formatting based on Class and ID (if specified) for that region.

2. Deploy the CSS file as described in the 'Viewsheet CSS' section of Look-and-Feel in Administration Reference. (This may require an administrator.)

See CSS Properties and Syntax for details on which component properties can be assigned styles.

See Also

CSS Properties and Syntax, for details on which component properties can be assigned styles.

<< 3.3.6 CSS Tab © 1996-2013 InetSoft Technology Corporation (v11.5) Applying CSS Styles >>