Omni Systems, Inc. |  | Mif2Go User's Guide, Version 55 |  |  |  |  |

> 24 Converting tables to HTML > 24.4 Specifying table attributes > 24.4.1 Specifying attributes for all tables

### 24.4.1 Specifying attributes for all tables

You can specify default HTML attributes for most table-related tags, although values for some attributes might not be recognized by some browsers.

To specify default attributes for all tables:

[Attributes]

; HTML element = attributes (macro) to set

You can specify attributes here for the following tags: body, table, tr, td, th, thead, tfoot, and tbody. For example:

[Attributes]

table= rules="rows"

th= align="left" bgcolor="yellow"

td= valign="top"

List all attributes for a given tag on one line, even if that line is very long. Also see §24.6.5 Specifying row-group, row, and cell attributes with macros.

No border, cellspacing, or cellpadding

If you list attributes for the <table> tag, do not include border, cellspacing, or cellpadding; if you do, Mif2Go writes duplicate assignments for any of these you specify in [Attributes]. Use one of the following instead:

• Settings in the [Tables] section; see §24.4.8 Adjusting borders, cell spacing, and cell padding.

• Attributes in the [TableAttributes] section; see §24.4.2 Overriding attributes for selected tables.

Also see §24.4.8.2 Taming border, cellspacing, and cellpadding settings.

> 24 Converting tables to HTML > 24.4 Specifying table attributes > 24.4.1 Specifying attributes for all tables

| Mif2Go User's Guide: 24.4 Specifying table attributes |  | Mif2Go User's Guide: 24.4.2 Overriding attributes for selected tables |