page-break-afterpage-break-after*
*



Contents  *



Index  *Topic Contents
*Previous Topic: padding-top
*Next Topic: page-break-before

page-break-after

Description

Indicates where to set a page break and on which page (left or right) the subsequent content should resume.

Syntax

{ page-break-after: auto | always | left | right}

Remarks

The values are defined as follows:

auto
Insert a page break after the element only if necessary.
always
Always insert a page break after the element.
left
Insert one or two page breaks after the element until a blank left page is reached.
right
Insert one or two page breaks after the element until a blank right page is reached.

If there are conflicts between page-break-after and the page-break-before value on the previous 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 hard page break is inserted in the document with the BR tag.

<STYLE>
    BR.page { page-break-after: always }
</STYLE>
  ...
<BR CLASS=page>
  ...

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

pageBreakAfter


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.