?
Solved

PageBreak in HTML-code ?

Posted on 1997-10-31
7
Medium Priority
?
1,570 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
Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

 
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

WordPress Tutorial 2: Terminology

An important part of learning any new piece of software is understanding the terminology it uses. Thankfully WordPress uses fairly simple names for everything that make it easy to start using the software.

Question has a verified solution.

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

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Suggested Courses

765 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