![]() |
| Previous Top Next |
Styles |
The Styles sidebar (screenshot below) enables CSS styles to be defined locally for SPS components selected in the Design View.

The Styles sidebar is divided into two broad parts:
| • | The Styles For column, in which the selected component types are listed. One of these component types may be selected at a time for styling. (In the screenshot above, the 1 text component is selected.) For detailed information about the selection of component types, see Selecting SPS Components to Style. |
| • | The Property Definitions column, in which CSS properties are defined for the component type/s selected in the Styles For column. The Property Definitions column can be displayed in three views (see below). For the details of how to set local property definitions, see Setting CSS Property Values. The XPath icon |
Three views of Property Definitions
The Property Definitions column shows the properties of the component selected in Design View. The display is available in three views (listed below) and can be switched between each other by clicking the respective buttons in the toolbar of the Entry Helper:
| • | Grouped |
| • | List All |
| • | List Non-Empty |
Views can also be changed by right-clicking any item in the Property Definitions column, selecting View Mode, and then the required view.
Toggle Important and Reset toolbar icons
Clicking the Toggle Important icon
sets the CSS value !important on or off for the selected CSS rule. Clicking the Reset icon
resets the value of the selected property.
See also:
Working with CSS Styles, for a complete description of how to work with CSS styles and how to use the Styles sidebar to define CSS styles locally on components
Style Repository, for information about working with external CSS stylesheets and global styles.
Predefined Formats, for a description of how to use predefined HTML formats in the SPS.
|