Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

PageBreak in HTML-code ?

Posted on 1997-10-31
7
Medium Priority
?
1,581 Views
Last Modified: 2008-02-26
I'm urgently seeking for the HTML-code for a PageBreak. Not on screen, but when printing it on paper. Also important to create an Index-related page with PageNumbers !
0
Comment
Question by:JRousseau
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
7 Comments
 
LVL 5

Expert Comment

by:Christian_Wenz
ID: 1841221
sorry, not available. I suggest that you divide your contens up into tables, since most browsers try to print tables on whole pages.

Hope this helps/works.
0
 

Author Comment

by:JRousseau
ID: 1841222
I've already tried that, but it just devides the tables over the different pages, and so it isn't possible to generate an accurate index for that document. (It's a document generated on a UNIX-machine in HTML to gain some time in 'formatting' the result -> it takes e few minutes to generate a document of about 32 pages, but it takes more than 2 houres to 'format' it in a presentable output, that's why I've choosen to generate a HTML-file)
0
 

Accepted Solution

by:
topkapi earned 200 total points
ID: 1841223
There is no such thing as a page-break in HTML.

The only brakes available in HTML are <BR> and <P>. The <BR>-tag is a sort of newline char, and <P> will start a new paragraph.

If you want to print a HTML-page on more pages, i suggest you open it in a program like word 97, and use the printer-dialoge there.
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 5

Expert Comment

by:Christian_Wenz
ID: 1841224
well, but in answer to your question, there is no tag or whatsoever for a page break (there are rumors that this feature might be accepted by the W3C, but that'll take some time)...

If your document mainly consists of text, you might want to count lines and end a table (and start the next one) after a certain number of them, let's say 30 lines.

IMHO that's the closest you can get. If you need more info on this, I'll have another go.
0
 
LVL 5

Expert Comment

by:Christian_Wenz
ID: 1841225
BTW topkapi, that's about the same answer I offered!! :-(
0
 

Author Comment

by:JRousseau
ID: 1841226
After a second opinion, I gues I have to count lines, or divide my pages manually. Sorry for not believing or trusting the first response of Christian Wenz. I just hoped somehow, somewhere there was a solution to my problem. (I suggest the points will be divided in 2 => each 100 points)
0
 

Expert Comment

by:topkapi
ID: 1841227
Christian:
since you gave almost the same answer (i read over it), isn't it possible for me to give half the points (100) for the answer to you?

If you can tell me how, i will gladly do it ...

Remco
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses four methods for overlaying images in a container on a web page
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

604 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question