W3C home > Mailing lists > Public > www-html@w3.org > November 2002

RE: Paged-media break points

From: Mike Darrin <MDarrin@legis.state.pa.us>
Date: Fri, 1 Nov 2002 12:01:50 -0500
Message-ID: <77C6CC1B1416CC4DB5D9CCB4A48AB0380C1117@MAIL.legis.state.pa.us>
To: "'www-html@w3.org'" <www-html@w3.org>

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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:06:01 UTC