RE: Paged-media break points

CSS has this, 	page-break-after: always, or 	page-break-before: always,
etc.  Or am I missing something?

-----Original Message-----
From: Stephen Brooks [mailto:sb@stephenbrooks.org]
Sent: Friday, November 01, 2002 11:36 AM
To: www-html@w3.org
Subject: Paged-media break points



Please tell me if the following has been put in a W3C standard that I
haven't seen yet, but...

I thought it would be a good idea to have a tag e.g. <break level='3'/>
which indicates a natural break in the document, so that when printed on
paper (or any other form of paged display - phone screens perhaps) the
document would be broken up sensibly instead of the current thing that seems
to happen with IE when I ask it to print and it just breaks at whatever line
runs off the page.

The "level" attribute is useful in my suggested page-breaking algorithm:
when trying to split a piece of HTML that won't fit on one page, find all
the "break" tags of lowest level present and split by those, then try to fit
the resulting pieces onto the pages one-by-one (perhaps several per page if
they are small).  If any of these pieces on their own still won't fit on one
page, recursively apply this algorithm to them.

Received on Friday, 1 November 2002 12:04:21 UTC