21.2 Choosing how to map formats
Mif2Go provides several ways to map FrameMaker formats to HTML, with considerable overlap among methods. You might want to use some or all of the following:
Import formats from a FrameMaker template you design specifically to produce HTML that looks the way you want. When you import formats from an alternate FrameMaker template, you can control text appearance; you can also redefine cross-reference formats to remove page numbers, which is not possible with other methods. See:
§2.4 Importing formats from a conversion template
§30.7 Applying FrameMaker conversion templates.
Insert settings in a configuration file to map paragraph and character formats individually to HTML tags. The display attributes of HTML tags to which you map individual formats are browser dependent. All you can be sure of is that, by default (without CSS), an h1 will look “bigger” than an h2, and so forth. Sometimes the “biggerness” is questionable, especially at the lower end (h4, h5, h6). However, you can use configuration settings to achieve effects not possible with CSS or with a FrameMaker template, such as the macro insertion of content. See:
§21.3 Mapping paragraph formats
§21.4 Mapping character formats.
Use cascading style sheets (CSS). Using CSS might cause different effects in different browsers, or even in different versions of the same browser. However, you can override CSS with individual settings in the configuration file. See §22 Setting up CSS for HTML.
Note: Any formatting that is directly created by an HTML tag overrides CSS. Using HTML presentational tags and attributes cripples your ability to use CSS, and therefore to adjust formatting easily without having to alter content.
> 21 Mapping text formats to HTML/XML > 21.2 Choosing how to map formats