31.7.9 Omitting tags from CSS selectors
By default, for HTML output DITA2Go
writes CSS selectors as class names prefixed with the element tag.
To have DITA2Go write CSS selectors
as just class names with no tag prefix:
[CSS]
SelectorIncludesTag = Yes (default for HTML output) or No
; (omit element tag prefix, default for DITA and DocBook output)
SelectorIncludesTag = No
When SelectorIncludesTag=Yes,
CSS selectors consist of the element tag name followed by a period followed
by the class name; for example, h1.heading1.
This is the default for HTML and XHTML output.
When SelectorIncludesTag=No,
CSS selectors do not have an element tag as a prefix; for example, heading1.
This is the default for DITA and DocBook output.
Previous Topic:
31.7.8 Using
CSS class names as tags for XML
Next Topic:
31.7.10 Overriding
CSS class for selected paragraphs
Parent Topic:
31.7 Assigning
CSS classes
Sibling Topics:
31.7.1 Understanding
CSS class name restrictions
31.7.2 Mapping
paragraph formats to CSS classes
31.7.3 Mapping
character formats to tags or span classes
31.7.4 Assigning
CSS classes to table formats
31.7.5 Assigning
CSS classes to text and table footnotes
31.7.6 Assigning
CSS classes based on Unicode character ranges
31.7.7 Using
link format names as CSS class names
31.7.8 Using
CSS class names as tags for XML
31.7.10 Overriding
CSS class for selected paragraphs
Table of Contents • Index