Solved

PageBreak in HTML-code ?

Posted on 1997-10-31
7
1,548 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
  • 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
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
This article discusses four methods for overlaying images in a container on a web page
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
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…

828 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