33.5.1 Indenting tables (deprecated)

Best practice is to use CSS to indent tables in HTML. The technique described in this section should be used only if you cannot use CSS.

Note:  This technique has been superseded by format configuration properties, which use CSS; see §7. Configuring output formats.

Because there is no indent attribute for tables in HTML, DITA2Go places a spacer graphic just before the table; see §32.5.2 Indenting images (deprecated).

To use the spacer graphic:

[HTMLOptions]
; UseSpacers = No (default)
; or Yes, use to position tables and graphics
UseSpacers = Yes

See §32.5.2 Indenting images (deprecated).

To specify the width of the spacer graphic:

[Tables]
; TableIndents=-1 (based on indent in FM), 0 (none), or count of
;  pixels; overridden for particular tables and groups in
;  [TableIndents] section
TableIndents = -1

When TableIndents=-1 (the default), tables are indented the same as in your FrameMaker document.

When TableIndents=0, tables are not indented.

When TableIndents=n, where n is a positive integer, tables are indented n pixels.

To override this setting for a particular table or table group:

[TableIndents]
; TableID = number of pixels to indent using PixelSpacerImage
; zero prevents indent, -1 is autoindent (default action)
; overrides default set in [Tables]TableIndents for its table or group

For example, to indent table af123456 by 60 pixels, and prevent any tables in file ag from being indented:

[TableIndents]
af123456=60
ag*=0

Previous Topic:  33.5 Positioning tables, table titles, and table footnotes

Next Topic:  33.5.2 Configuring and positioning table titles

Parent Topic:  33.5 Positioning tables, table titles, and table footnotes

Sibling Topics:

33.5.2 Configuring and positioning table titles

33.5.3 Positioning table footnotes

Table of ContentsIndex