How do I force / control page breaks in DominoPDF?

Custom coding examples from Primeapple for forcing page-breaks.
HTML


How do I force / control page breaks in DominoPDF?
DominoPDF supports page breaks via the CSS2 page-break-before/inside/after styles.
You can either use style-sheets in your Notes document design, for example;
<style type="text/css">
<!--
.break {page-break-after: always}
-->
</style>
Or a simpler method of in-line HTML, for example;
<p STYLE="page-break-after: always"></p>
By entering this CSS2 style in your document HTML DominoPDF with recognise the style tags and force a page break accordingly when rendering to PDF.

Posted by fbrefere001 on Wednesday June 23, 2004