##### 33.4.9.1 Specifying a method for determining table column widths

To specify a default sizing method for columns in all tables:

    [Tables]
    ; TableSizing = Adaptive, Fixed (pixels), or Percent (of table)
    TableSizing = Adaptive

Adaptive table sizing resizes columns individually to fit content; this is the default setting. However, if your document includes a series of tables on related subjects, you might want those tables to have a consistent look. Relative table sizing adjusts columns proportionally to fit the browser window. Fixed table sizing also maintains relative column widths, but does not adjust them to fit the browser window.

This setting affects the width attribute of table cells; it does not affect attributes of the <table> element itself. To override the default sizing method for particular table groups, see §33.4.9.2 Overriding the default table column sizing method.

Adaptive table sizing

When TableSizing=Adaptive (the default), DITA2Go does not automatically generate any width attribute for table cells, so columns are resized to fit content. This setting is best, unless you have a compelling reason to specify Fixed or Percent.

Relative table sizing

When TableSizing=Percent, DITA2Go computes the width of each column as a percent of the table width and gives each table cell a width attribute with a value expressed as a percent of the full table width. See §33.4.9.3 Maintaining the width of table columns via relative sizing.

Fixed table sizing

When TableSizing=Fixed, DITA2Go gives each table cell a width attribute with a value expressed in pixels. This method might require users to scroll horizontally to see the whole table.

Previous Topic: 33.4.9 Determining the width of table columns

Next Topic: 33.4.9.2 Overriding the default table column sizing method

Parent Topic: 33.4.9 Determining the width of table columns

Sibling Topics:

33.4.9.2 Overriding the default table column sizing method

33.4.9.3 Maintaining the width of table columns via relative sizing