How to make an HTML page break to a new page during print

I was having a problem getting a printed form (PDF) to break at a certain point. After searching the web there were some options for sure but a simple outline solution is below.

The Solution For HTML Page Break:

… content in page 1 …

<p style=”page-break-after: always;”>&nbsp;</p>

<p style=”page-break-before: always;”>&nbsp;</p>

… content in page 2 …

I just wanted to put this here for future reference for myself but also maybe help anyone else out looking for an easy quick solution.

Leave a Reply

Your email address will not be published. Required fields are marked *