#### 31.7.7 Using link format names as CSS class names

To automatically use cross-reference format names and hypertext-link character format names as CSS class names in HTML:

    [CSS]
    ; XrefFormatIsXrefClass = No (default) or Yes (for xrefs, use the
    ;  Frame xref format name as the xref class name; for hyperlinks, use
    ;  the char format name instead.  Mainly for DITA @outputclass use.)
    ;  Default is reversed to Yes if UseCSS=Yes, and for DITA output.
    XrefFormatIsXrefClass = Yes

When UseCSS=Yes, the default value of XrefFormatIsXrefClass is reversed to Yes; see §31.5 Understanding how CSS affects other options.

For DITA XML, the default value of XrefFormatIsXrefClass is Yes; see §24.3 Specifying general options for DITA.

Previous Topic: 31.7.6 Assigning CSS classes based on Unicode character ranges

Next Topic: 31.7.8 Using CSS class names as tags for XML

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.8 Using CSS class names as tags for XML

31.7.9 Omitting tags from CSS selectors

31.7.10 Overriding CSS class for selected paragraphs