I've set the following in my topic stylesheet (Stylesheets\Styles.css) and it works well with MS Word as long as I don't assign a table style to the table:
Code: Select all
tr
{
page-break-inside: avoid;
orphans: 2;
widows: 2;
}
The problem is, as soon as I assign a table style (defined in a specific CSS in the \TableStyles folder) to my table, the property doesn't work anymore in MS Word output.
I've tried many tricks, based on previous posts in this forum, but it still doesn't work:
- applying the "page-break-inside: avoid" to all styles in my table stylesheet,
- adding styles to my topic stylesheet (like td_TableStyle_Tableau_indente_niv1_Body_0_0_RowSep_ColSep) with the property "page-break-inside: avoid;"
Am I missing something?
Or do I really have to choose between table stylesheets and the "page-break-inside" property?