Omni Systems, Inc.

  

Mif2Go User's Guide, Version 55

  

Valid HTML 4.01!

 

Made with Mif2Go

24 Converting tables to HTML > 24.4 Specifying table attributes > 24.4.9 Determining the width of table columns > 24.4.9.1 Specifying a method for determining table column widths


24.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 sizingmaintains the same relative column widths as in FrameMaker, and 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 tables and table groups, see §24.4.9.2 Overriding the default table column sizing method.

Adaptive table sizing

When TableSizing=Adaptive (the default), Mif2Go 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,you get the same relative column widths in HTML that you have in FrameMaker. Mif2Go computes the width of each column as a percent of the table width in FrameMaker, and gives each table cell a width attribute with a value expressed as a percent of the full table width. See §24.4.9.4 Maintaining the width of table columns via relative sizing.

Fixed table sizing

When TableSizing=Fixed, Mif2Go 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.

To specify a DPI value as a basis for determining the number of pixels:

[Tables]

; TableDPI = 96 (for Fixed, gives 624 pixels for 6.5" page)

TableDPI = 96

The default value of TableDPI is 96. See §24.4.9.3 Scaling the width of table columns via fixed sizing.



24 Converting tables to HTML > 24.4 Specifying table attributes > 24.4.9 Determining the width of table columns > 24.4.9.1 Specifying a method for determining table column widths