W3C home > Mailing lists > Public > www-style@w3.org > April 2009

Re: WordStar like conditional page brake (.cp command)

From: Biju <bijumaillist@gmail.com>
Date: Thu, 16 Apr 2009 20:31:03 -0400
Message-ID: <4a27dd80904161731k28d34c4s2c6838e029b0ae60@mail.gmail.com>
To: Andrew Fedoniouk <news@terrainformatica.com>
Cc: www-style@w3.org
On Wed, Apr 15, 2009 at 1:38 AM, Andrew Fedoniouk
<news@terrainformatica.com> wrote:
> What if to allow page-break-before to accept percentage values?
>
> So if for example you have
>
> h1 { page-break-before:75% }
>
> then if h1 element is happened to appear in last 3/4 of the page
> it will go on the next page.

if we can put in "page-break-before" that is also fine.

> I think that percentages are somehow better than length units -
> you will not be tied with particular paper size.

When I mentioned "px" in example I did not indent to limit it to "px",
it can be in any length unit like

 h1 { page-break-before:75% }
 .contentBody { page-break-before:200px }
 .content { page-break-before:10em }
 .contentOther { page-break-before:0.25vh }
Received on Friday, 17 April 2009 00:31:46 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 22 May 2012 03:46:58 GMT