How to force new page in output PDF

How to force new page in output PDF

To force new page in output PDF just use special HTML / CSS style option page-break-after:always; which asks to break and start a new page:

Example 1:

<div style = "display:block; clear:both; page-break-after:always;"></div>

Example 2:

<p style = "display:block; clear:both; page-break-after:always;"></p>

You may also create tables with rows that are going into new pages automatically. Please see this article for more information.

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.