I created a html with CSS coding to page-break before <h1></h1> tags. Using print preview, I am able to see the page breaks, however, when I run my flow there is no page break. Any Idea to resolve this issue.
I was able to get around this a bit by using a Div of a predefined size.
<div id="page" class="page" style = "background-color:#FF00FF; height: 775px; width: 595px;">
( terrible colour was for debugging! )
This allowed me to create stand alone pages when I knew the content was going be less than one page.
I am currently using a variable to keep track of approximate content height so able to close of the div and start a new one ( like starting a new page ) when it excides a page height.
Its alot of overhead for something that should be straight forward.
No update. I tried creating static tables with spacing to mimic a page break but that did not work. As more tables are added, the tables eventually carry over to the next pages in the pdf