W3C home > Mailing lists > Public > www-amaya@w3.org > July to September 2001

Re: Page Break Example

From: Vincent Quint <Vincent.Quint@inrialpes.fr>
Date: Mon, 23 Jul 2001 16:16:01 +0200
To: Luigi Paganini <l.paganini@agusta.it>
Cc: www-amaya@w3.org, Vincent.Quint@inrialpes.fr
Message-Id: <20010723141602.A9813C990@lihue.inrialpes.fr>
The current version of Amaya does not provide any user interface to
manipulate the CSS page-break properties. Those properties are
interpreted by the print program, though.

Supposing you want a page break before every h2 element, you will
have to include the following in the source file of your document:

   <style type="text/css">
     h2 {page-break-before: always}
   </style>

This must be included in the head element.
If there is already a style element, you just need the second line.
You won't see any change in the formatted document on the screen.
This works only when printing.

Vincent.

Luigi Paganini wrote:
> Dear Amaya Team,
> can you please send me the step by step instructions to create the
> CSS page break properties "page-break-before: always"; and the instructions
> to apply it to an element ?
> If I well understood this future allow me to insert page breaks in
> my printed document.
> Is it true ?
> Thanks in advance
> --
> Luigi Paganini - AGUSTA S.P.A.
> Email: l.paganini@agusta.it
> Tel  : +39-0331-229280/229309
> Fax  : +39-0331-711718
Received on Monday, 23 July 2001 10:17:36 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:53:24 UTC