Contents Index Topic Contents | ||
Previous Topic: page-break-after Next Topic: position |
page-break-before
Description
Indicates where to set a page break and on which page (left or right) the subsequent content should resume.
Syntax
{ page-break-before: auto | always | left | right}
Remarks
The values are defined as follows:
- auto
- Insert a page break before the element only if necessary.
- always
- Always insert a page break before the element.
- left
- Insert one or two page breaks before the element until a blank left page is reached.
- right
- Insert one or two page breaks before the element until a blank right page is reached.
If there are conflicts between this property and the page-break-after value on the next element (as formatted on the canvas), the value that results in the largest number of page breaks will be used.
This attribute is not inherited.
Example
In the following example, a page break is inserted in the document before all H1 elements.
<STYLE> H1 { page-break-before: always } </STYLE> ... <H1 CLASS=chapter> ...Applies To
BLOCKQUOTE, BODY, CENTER, DD, DIR, DIV, DL, DT, FIELDSET, FORM, H1, H2, H3, H4, H5, H6, LI, LISTING, MARQUEE, MENU, OL, P, PLAINTEXT, PRE, UL, XMP
Scripting Property
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.