Solved

PageBreak in HTML-code ?

Posted on 1997-10-31
7
1,558 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

[Webinar] Code, Load, and Grow

Managing multiple websites, servers, applications, and security on a daily basis? Join us for a webinar on May 25th to learn how to simplify administration and management of virtual hosts for IT admins, create a secure environment, and deploy code more effectively and frequently.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
HTML auto refresh to another site 4 45
HTML question 2 33
Add Rows on a Table 8 50
Want my table columns to autofit. 7 58
Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
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.
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…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

737 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