Page breaks in HTML?

Is it possible to setup page breaks in HTML?  I have documents with images in it and when I print from the browser, it prints half an image on one page and the other half on the other page.  Is it possible to just put page breaks so it will print where I want.  I still want to be able to scroll through the whole document.  
Who is Participating?
It's easy!
Put this style stuff in your <head>

  <style> {
      page-break-before: always

now, whenever you need to page break, add this:

<div class=page>&nbsp;</div>

This will work in IE4 and Up.


This is page one.
<div class=page>&nbsp;</div>
This is page two.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.