Print Page Break - HTML Page Break

Is there a way to put a character within HTML so when someone prints the HTML form/screen I can force a page break. I want to develop a new HTML form/screen for an employee to fill out, and when they print it the screen/form prints two separate pages. I want to be able to control where the 2nd page starts.
Who is Participating?
RichieHindleConnect With a Mentor Commented:
You need to use the CSS "page-break-before" or "page-break-after" properties.  Here's a working example:

<style type='text/css'>
@media print
        page-break-before: always;
<p>This is on page 1.</p>
<p class='pagestart'>This is on page 2.</p>
tomhoranAuthor Commented:
That's eay .. will that work in both IE and netscape .. anothers all browsers ?
I tested it in IE6 and Firefox 1.0PR on XP.  I don't have older versions to try it with, but I'd be very surprised if it didn't work in IE5+ and Netscape 6+.
The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

I had a hard time getting those CSS properties to work and ended up using a PDF component to have ultimate control.  ABCPDF ( can be used free if you link back to their site.  If you pay for a component, I like ASPPDF (
nan1217: Can you elaborate on 'a hard time'? Did you find that older browsers didn't support them, or were buggy, or that the properties didn't work with your content...?
The properties didn't work for me.

Here's an example of someone else using these properties in a PAQ.
What I do is pick a tag where you want the page to break. In this example I used the  H3 tag

In the header add this line


Wherever the <H3> is in the body of your page it will produce a page break.

In order to test it, use IE 5+ and try the Print Preview. You should be able to see if it works on screen.
All Courses

From novice to tech pro — start learning today.