13.10.3 Displaying condition indicators in HTML with CSS
You can use CSS to make the FrameMaker conditions transferred to HTML attributes stand out, by setting flags to display the original condition indicators such as color, underline, and strikethrough:
; UseConditionalFlagging = No (default, do not include flags)
; or Yes (set flags per conditions)
; CSSFlagsFile = name of CSS file to use for flagging classes for
; HTML outputs. If not specified, related settings below ignored.
; WriteFlagsFile = Yes (default, write in project directory) or
; ReferenceFlagsFile = Yes (default, reference after main CSS file
; in output document head) or No (do not reference).
When UseConditionalFlagging=Yes, Mif2Go writes class="condition_name" into the HTML, or prepends condition_name to an existing class attribute. This works because a class attribute can have multiple values, separated by spaces. When there is a CSS rule for more than one of them, the rules are additive. If a particular property has contradictory settings, such as two different colors, the later of the two in the CSS file overrides the earlier; the order in the class attribute does not matter.
You must specify a name for CSSFlagsFile if you want the CSS file written and referenced in HTML output. By default, the CSS file is placed in the project directory.
In preparing the CSS rules for condition indicators, Mif2Go does not try to combine colors. If multiple conditions with different color indicators are applied to the same text in FrameMaker, the last applicable selector in the CSS file overrides any that precede it.
> 13 Converting to HTML/XHTML > 13.10 Converting conditions to HTML attributes > 13.10.3 Displaying condition indicators in HTML with CSS