Home › Forums › DITA and XMetaL Discussion › TopLeaf – Tables do not stay within paragraph margin, rows break across pages › Reply To: TopLeaf – Tables do not stay within paragraph margin, rows break across pages
Reply to: TopLeaf – Tables do not stay within paragraph margin, rows break across pages
September 15, 2011 at 4:37 amThe table tag has a special mapping type for which many values are predefined. In particular you cannot use it to adjust normal paragraph properties.
If you want a table to start at the left margin, you must either:
- tick the Reset margins box in the Table tab (not the Paragraph tab) [note that this can be done locally or in an inherited table style]
- reset the margins in an enclosing element.
As for keeping table rows together, this is controlled by the split-rows attribute of the table-properties command (see Mapping Guide sec 11.9.1). Check whether this is being set anywhere (eg. $document Pre-content).
Alternatively, a row will force a split if it is deeper than the page height, though this doesn't sound likely in your case.