Omni Systems, Inc.

  

Mif2Go User's Guide, Version 55

  

Valid HTML 4.01!

 

Made with Mif2Go

27 Marking HTML table cells for WAI > 27.3 Using the id/headers method to identify table cells > 27.3.5 Choosing a different row-group method


27.3.5 Choosing a different row-group method

If you set HeadFootBodyTags=Yes, probably you will not want to use RowGroupIDs; use the scope method instead. For example, if you use paragraph format RowGroupHeading for row-group header text, you could specify:

[HTMLParaStyles]

RowGroupHeading=RowGroup Scope TableHead

[StyleCellScope]

RowGroupHeading=rowgroup

or, if the RowGroupHeading cells actually span the rows in the group:

[Tables]

ScopeRowGroup=Yes

either of which produces:

<tbody>

<tr><th scope=rowgroup>My Group Head</th><td></td> ... </tr>

<tr><td></td>... </tr>

...

</tbody>

This provides the association between “My Group Head” and all the cells in the <tbody> section at minimum cost in HTML coding and file size. Only if you cannot use HeadFootBodyTags, perhaps because your target browser does not support it, would you want to use RowGroupIDs for this purpose.



27 Marking HTML table cells for WAI > 27.3 Using the id/headers method to identify table cells > 27.3.5 Choosing a different row-group method