Hi.
We have a reporting module which generates HTML output. This is converted to a PDF using Prince. The basic structure of the page is one large table, which contains more tables which are generated from data which is retrieved from a database. We have a table which makes up a header title for each section and this table has the following css style
For most cases this works correctly. however, in the event that the previous page's content has ended close to the bottom edge of the page, a blank page is inserted. I have tested this in both version 6 and 7 with the same issue.
The content for each table is dynamic so using padding or margins to move the content away from the bottom of the page isn't an option, as the amount of data in the report can change.
Thank you.
We have a reporting module which generates HTML output. This is converted to a PDF using Prince. The basic structure of the page is one large table, which contains more tables which are generated from data which is retrieved from a database. We have a table which makes up a header title for each section and this table has the following css style
page-break-before: always;
For most cases this works correctly. however, in the event that the previous page's content has ended close to the bottom edge of the page, a blank page is inserted. I have tested this in both version 6 and 7 with the same issue.
The content for each table is dynamic so using padding or margins to move the content away from the bottom of the page isn't an option, as the amount of data in the report can change.
Thank you.