• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1598
  • Last Modified:

PageBreak in HTML-code ?

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
JRousseau
Asked:
JRousseau
  • 3
  • 2
  • 2
1 Solution
 
Christian_WenzCommented:
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
 
JRousseauAuthor Commented:
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
 
topkapiCommented:
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
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
Christian_WenzCommented:
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
 
Christian_WenzCommented:
BTW topkapi, that's about the same answer I offered!! :-(
0
 
JRousseauAuthor Commented:
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
 
topkapiCommented:
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

[Webinar] Improve your customer journey

A positive customer journey is important in attracting and retaining business. To improve this experience, you can use Google Maps APIs to increase checkout conversions, boost user engagement, and optimize order fulfillment. Learn how in this webinar presented by Dito.

  • 3
  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now