Omni Systems, Inc.

  

Mif2Go User's Guide, Version 33u53

  

Valid HTML 4.01!

 

Made with Mif2Go

22 Including graphics in HTML > 22.6 Positioning graphics in HTML output > 22.6.5 Adding space before a graphic


22.6.5 Adding space before a graphic

To add space before a graphic, you can use one of the following:

the format of the anchor-containing paragraph (if it is specific to graphics)

the ID of the graphic, which consists of the Mif2Go FileID followed by the FrameMaker ID; see §4.4 Identifying files and objects for more information.

If all the graphics in your document need the added space, dedicate a paragraph format to anchoring graphics, and include the extra space in its definition. If you need to add space to only one or a few graphics, use the graphic ID.

Use the anchor paragraph

To add space using the paragraph containing the anchor (for example, GraphAnchor):

[HtmlStyles]

GraphAnchor=CodeBefore

[StyleCodeBefore]

GraphAnchor=<br>

This method adds space for every graphic whose frame is anchored in a GraphAnchor paragraph.

Use the graphic ID

To add space using a graphic's ID:

1. Determine the graphic's FrameMaker ID. Click the anchored frame; FrameMaker displays the ID on the status bar at the bottom of the window; for example, 0f9fae.

2. Determine the FileID. Look in file mif2go.ini (located in the same folder as your FrameMaker document) for the name of the file containing the graphic. Under [FileID] you will see a list of two-letter codes, each assigned to one of the files in your document; for example, aa=chap1.

3. Add a setting for the graphic. For example:

[GraphStartMacros]

aa0f9fae=<br>

This method produces a space just before the <img> tag.

§22.9.1 Excluding image size attributes from HTML



22 Including graphics in HTML > 22.6 Positioning graphics in HTML output > 22.6.5 Adding space before a graphic