Presentation Template Editor
See also: See also: Style Sheets, How Style is Applied, CSS Class and Style Properties, Controls, Layouts
The Presentation Template Editor has two sections:
2. Default Control Properties Section
This section appears at the top of the editor and allows any number of style sheets to be associated with the presentation template. These style sheets are automatically loaded for all pages of all forms that use the presentation template unless this is explicitly overridden in the Page properties for each page. All classes in these style sheets can be used to style controls in the Form Editor. See How Style Is Applied for further details.

Style sheets are
added with the New style sheet icon
and removed with the Delete style sheet icon
.
Style sheets can be moved up or down by clicking on the appropriate
buttons.
The properties for each style sheet are:
|
Name |
Name of the Style Sheet |
|
Relation |
Available options are stylesheet and alternate stylesheet. Alternate style sheets, which are not supported by all browsers, provide a technique for allowing the end user to select which stylesheet should be applied. This is used in conjunction with the Title property. |
|
Media |
Specifies the media type. The only types commonly supported by browsers are:
Multiple media types can be specified. |
|
Title |
Provides a title for the style sheet – this is used in conjunction with the Relation property for specifying alternate style sheets. Caution!: when a title is specified for a style sheet with relation stylesheet, this style sheet is designated as preferred. Only one preferred style sheet is allowed; if you designate more than one preferred style sheet, only one will be used and all others will be ignored. Therefore, only specify a value for title when you want to use alternate style sheets, and only specify a title for one style sheet that has the Relation property set to stylesheet. |
The Relation, Media and Title properties can be overridden at individual page level in Page Properties.
Style sheets are included in a page using <link> tags. These link tags are generated in the order that the style sheets appear in this dialog (unless this is overridden at individual page level in Page Properties). The relative order of style sheets is important when resolving any conflicts in CSS parameters e.g. a class might be defined twice. Standard CSS rules state that when a conflict exists, the last occurrence has precedence.
This section appears beneath the Style Sheet Section and allows default values to be set for all controls, layouts and for certain form properties. These values provide the default values used for all forms that use this template. A list of all controls as they appear in the Palette View is shown, followed by a list of all layouts, and finally a section on Form defaults. Clicking on any item in the list presents the default properties in the adjacent panel. For information on each item’s properties, please refer to: