loading table of contents...

2.4.4. Editing styles

Proceed as follows to edit an inline- or block-style:
  1. Select a style from the inline- or block-styles list.
  2. Click the button "Edit" next to the styles list. This opens following dialog:

Figure 2.4.3. Edit style dialog

  1. Style-Name
    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.)
  2. 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.
  1. 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.
  2. Label-ID
    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.
  3. Auto-Format
    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.
  4. 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.