Topic: Page Breaks Pages that link to <a href="https://ozoneasylum.com/backlink?for=9545" title="Pages that link to Topic: Page Breaks" rel="nofollow" >Topic: Page Breaks\

 
Author Thread
Dufty
Paranoid (IV) Inmate

From: Where I'm from isn't where I'm at!
Insane since: Jun 2002

IP logged posted posted 10-17-2002 16:37 Edit Quote

Bit of an odd-ball here - can't find an answer anywhere (at least via the usual channels).

Does anyone know if it's possible to insert 'Page Breaks' in an HTML document - (visible when printing)?

In advance, many thanks.


Dracusis
Maniac (V) Inmate

From: Brisbane, Australia
Insane since: Apr 2001

IP logged posted posted 10-17-2002 16:44 Edit Quote

Now that's an interesting one.

I'd love to know the answer myself.

Dufty
Paranoid (IV) Inmate

From: Where I'm from isn't where I'm at!
Insane since: Jun 2002

IP logged posted posted 10-17-2002 16:51 Edit Quote

It's a bugger.

I'm having to create tables which are just short of page height, and build content inside them.
Not pretty, but kinda works.

Emperor
Maniac (V) Mad Scientist with Finglongers

From: Cell 53, East Wing
Insane since: Jul 2001

IP logged posted posted 10-17-2002 16:54 Edit Quote

Dufty: Its not highly supported but:
http://htmlgoodies.earthweb.com/beyond/css_print.html
http://www.slackerhtml.com/stylesheets/pagebreaks.html

[edit: Ooops forgot the vital one:
http://www.w3.org/TR/REC-CSS2/page.html#page-breaks

have a read through and check the CSS compatibility charts to see if it is worth your while]

I think the point is that you are trying to impose something inappropriate to the medium and all solutions won't be satisfactory. Using the above you can stop it breaking the page in the middle of certain elements but you can't define exact page breaks as you would in other media.

If as a user you want to define them then:
http://www.faico.net/hscissor/

___________________
Emps

FAQs: Emperor

Dufty
Paranoid (IV) Inmate

From: Where I'm from isn't where I'm at!
Insane since: Jun 2002

IP logged posted posted 10-17-2002 17:07 Edit Quote

Emps: you ROCK!!!

style="page-break-before: always" does exactly what I need:
It even works in a table e.g. <tr bgcolor="#CCCCCC" valign="top" style="page-break-before: always">

YAY! Thanks again dude.

Dracusis
Maniac (V) Inmate

From: Brisbane, Australia
Insane since: Apr 2001

IP logged posted posted 10-17-2002 18:16 Edit Quote

Wahoo!

~Does happy dance~

I'll have another 4000 of dem, yes sir ree!

Wee hee. This coffee is great!... going on 26 hours straight. Only 13 left to go! w00+'n stuff.

Emperor
Maniac (V) Mad Scientist with Finglongers

From: Cell 53, East Wing
Insane since: Jul 2001

IP logged posted posted 10-18-2002 13:57 Edit Quote

Added to FAQ:

How do I insert page breaks into a webpage?

___________________
Emps

FAQs: Emperor



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu