Omni Systems, Inc.

  

Mif2Go User's Guide, Version 55

  

Valid HTML 4.01!

 

Made with Mif2Go

24 Converting tables to HTML > 24.1 Assigning properties to tables > 24.1.1 Understanding which table features can be converted


24.1.1 Understanding which table features can be converted

Not every FrameMaker table feature has a corresponding HTML attribute. If the tables in your FrameMaker document use a lot of custom ruling and shading, Mif2Go might not be able to translate some of those properties to HTML, because HTML lacks attributes needed to implement them. For example, ruling properties can be converted only at the <table> level, using border, frame, and rules; and the last two attributes are rendered only by Internet Explorer. Even if you target only Internet Explorer, choices are limited.

Do it with CSS

You can represent some custom table properties with CSS. The best way is to apply class attributes to table cells. For a paragraph format used consistently within those cells, you can specify a CellAttribute property for the format in [HTMLParaStyles], and specify the class name in [StyleCellAttribute]; otherwise, use CellClass markers that specify the class name. See §24.4.6 Specifying attributes for table cells.

You must hand-edit the CSS to specify ruling and background-color settings. Or, if you have set [CSS]WriteCssStylesheet=Always, you can include the settings in configuration section [CSSStartMacro] or [CSSEndMacro]; see §22.8.4 Overriding styles in Mif2Go-generated CSS files.

Be sure to verify that the settings you have in mind work as intended with all browsers you find important. Not all browsers support CSS 2 the same way.



24 Converting tables to HTML > 24.1 Assigning properties to tables > 24.1.1 Understanding which table features can be converted