Snippets

Prevent break tables using HTML

In order to prevent a table to be split in several pages it is required to apply the page-break-inside and page-break-after styles to all of its contents. This trick works unless the table occupies more space than a full page.

It is also possible to use custom styles.