We are adding several sections with section headline, paragraphs and tables to word files. The data is prepared as HTML and then added to the docx file (premium license). Is there a way to avoid page breaks between the section headline, the paragraphs and (especially in) a table?
We tried "page-break-inside: avoid;" and "page-break-after: avoid;" (https://www.phpdocx.com/documentation/snippets/prevent-page-break-paragraph-html) but were not successful. Where do we need to position these css attributes? Any magic trick which we forgot?
Thanks!