### 21.3.6 Overriding paragraph properties

You can override some of the properties of FrameMaker paragraph formats directly:

[HtmlStyles]

; doc format (para or char) = keywords for functions and properties

; Left, Center, Right, Size1 - Size7 apply those props to head

; Bold, Ital, ULine, and Strike apply those char props to text

; Plain turns all four of those char properties off by default.

; Color1 - Color254 color text as defined in Frame and [Colors]

; NoColor suppresses use of the <font color=...> in the style.

The alignment settings (Left, Center, Right) override the align attribute in the paragraph tag. The other settings affect the <font> tags used within the paragraph for its default style, provided you are including <font> tags. Using CSS turns <font> tags off by default; see §21.6.4 Including or excluding font tags and §22.5 Understanding how CSS affects other options.

No alignment

To eliminate align attributes from paragraph tags:

[HTMLOptions]

; AlignAttributes = Yes (default)

; or No (no align attribute in paragraph tags)

; Default is reversed to No if UseCSS=Yes.

AlignAttributes = No

If you use CSS, the default value of AlignAttributes is reversed to No; see §22.5 Understanding how CSS affects other options.

Text colors

The Color nnn properties use color numbers to assign text colors to paragraph formats; see §21.8 Specifying text colors.

No overrides

To eliminate bold, italic, underline, and strikethrough properties (<b>, <i>, <u>, and <strike> tags) from selected paragraph formats:

[HtmlStyles]

Heading1 = Plain

To eliminate bold, italic, underline, and strikethrough properties (<b>, <i>, <u>, and <strike> tags) from all paragraph (and character) formats:

[HtmlOptions]

; AllowOverrides = Yes (default) or No (ignore untagged char props,

; default for XML and DITA)

AllowOverrides = No

Override “no overrides”

You can still permit these properties in selected formats:

[HtmlStyles]

; Overrides allows text prop overrides for <b>, <i>, <u>,

; and <strike>, even if [HTMLOptions]AllowOverrides is turned off

Heading2 = Overrides

See also:

§21.7 Managing typographic elements for HTML or XML

| 21.3.5 Designating script paragraph formats |  | 21.3.7 Stripping paragraph properties |