Jump to content

page break in html document


BigD

Recommended Posts

I am not sure I should post it here or at CSS forum, here is the questionI have a html file with 2 sets of info in it. is there a way to have each set on one page when I sent it to a printer? <html><head><title>Title of the document1</title></head> <body>The content of the document1......</body> </html> <html><head><title>Title of the document12</title></head> <body>The content of the document12......</body> </html>

Link to comment
Share on other sites

I have a lot of experience with that question. Assuming you want all the info you're displaying to print on two pages, use two divs that are as big as two printed pages then put page one content in one div and page two content in the other. I'd experiment with the divs first by putting a border around each to see how they actually print. You'' probably be surprised.

Edited by niche
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...