24.4.2 Overriding attributes for selected tables
To specify HTML <table> attributes for a single table or a group of tables:
; Table ID = text (macro) to put inside table element, overrides
; settings in [Tables] for Border, Spacing, and Padding, and
On the left of the = sign you can specify a TableID, a table format name, or a table group name, and you can use wildcards in the name. See §24.2.2 Creating table groups.
On the right of the = sign you can include any arbitrary HTML, even macros (see §28 Working with macros) and JavaScript (perhaps something like onmouseover="javascript:dosomething(now)"). Just keep it all on the same line.
For example, to maintain table cell borders more or less as they were in FrameMaker, rather than use a global setting for all tables (as you would in the [Tables] section or in the [Attributes] section), you can set the borders based on the table format name:
FormatA= border="0" cellspacing="2" cellpadding="1"
Values you specify in the [TableAttributes] section override corresponding settings in the [Tables] section, and also override any attributes you assign to the table element in the [Attributes] section. However, see §24.4.8.2 Taming border, cellspacing, and cellpadding settings for special constraints on specifying values for border, cellspacing, and cellpadding.
§24.1.2 Understanding precedence of assignment methods
> 24 Converting tables to HTML > 24.4 Specifying table attributes > 24.4.2 Overriding attributes for selected tables