css-print
css-print copied to clipboard
Weak control over table renderings
The specs are weak regarding the rendering of tables, tables split over multiple pages in particular.
- there is no way to define a table caption different from the table caption of the first page. PrinceXML has its own extension:
<caption style="prince-caption-page: first">Table 1</caption>
<caption style="prince-caption-page: following">Table 1 (cont.)</caption>
- there is no configuration option to control if and how header/footer should be repeated. Antennahouse has its own extensions
table-omit-header-at-breakandtable-omit-footer-at-break - control over breaks within a row. In general: a page break within a row or a cell is ugly. break-inside: avoid should be supported by processors. In case of a page break within a row/cell, you want control about content to be repeated on the next page or not. Antenna provides this through the
repeat-cell-content-at-breakoption. - orphans and widows: as with standard text, you want to control over the number of orphan and widow rows in case of a page break. Antennahouse 7 introduces orphan/widow control tables.