How to add page breaks to html

February, 8 2012

We often get the question about creating HTML that sends proper page breaks to the printer.

It's actually very easy to handle. There are two ways to do it:

1) via CSS - for the advanced HTML users:

< p style="page-break-after:always;"> < /p >

2) with a simple comment:

< p >< !-- pagebreak -- > < /p >


** NOTE: remove  the spaces within the tags. We added spaces intentionally to prevent the HTML from being interpreted by your browser

That's it.


10/22/2012 01:57 / anonymous said:

Post A Comment

We'd love to hear your thougts. All comments are subject to administrator approval before appearing on this website. All comments of spammy nature are automatically rejected.

Email Address: (will not be displayed)

Signup For Newsletter

Email Address: