Jump to content

page break in html document


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 post
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 post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...