2.4.4. Editing styles
Proceed as follows to edit an inline- or block-style:
- Select a style from the inline- or block-styles list.
- Click the button "Edit" next to the styles list. This opens following dialog:
Figure 2.4.3. Edit style dialog
Optionally edit the Style-Name. The Style-Name can be any descriptive text. (Notice that the Style-ID cannot be edited after the style has been created.)
- CSS Properties
Click the "Style Editor" button to edit the style properties. The following dialog will be opened. Enter the CSS style properties and click the "Update" button.
Figure 2.4.4. CSS style editor
Enter the CSS style properties. To get a preview of the style settings, click the "Apply" button. This applies the current style settings to the text "Abc def..." shown in the preview area of the style-dialog.
Click the "Update" button to set the modified style properties and to close the CSS dialog. Click the "Cancel" button to close the CSS dialog without updating the style properties.
- Show label before/after block
For user-defined block-styles the checkbox "Show label before/after block" is available. Check this box, to enable the generation of a labeled title. See the chapter Section 1.13.8, “Labeled blocks” for more information on labeled blocks.
If the "Show label before/after block" checkbox is checked, then you can optionally provide a Label-ID. The Label-ID identifies the type of content. Leaving the Label-ID empty is the same as entering the Style-ID as Label-ID. If you want two or more block-styles to share the same number sequence, then you have to use the same Label-ID for all these styles.
For user-defined inline- and block-styles an Auto-Format configuration list is available. The Auto-Format configuration allows to assign Auto-Format transformations to the style. See the chapters 'Dynamic Templates', 'Formatting of listings' and 'Syntax highlighting' in the tutorial for examples on using Auto-Format transformations.
- Click the "Okay" button to save the style settings and to close the style-dialog. Click the "Cancel" button to close the style-dialog without saving the style settings.
Note that some CSS properties are only meaningful for HTML output, but have no effect for print output (PDF).
All changes are only applied to the styles of the currently opened product version, i.e. other product versions are not affected. However, style modifications affect all languages of the opened product version.