This property specifies the page-breaking behavior that should occur
before an element box and on what side of the page the content that
follows should resume on. Page breaks are not allowed in absolutely
positioned elements.
CSS2 "suggests" when page-breaking should occur:
Page-breaking should occur as few times as possible.
Page-breaking should be avoided inside these elements:
tables, floated elements and block elements with borders.
Pages that are not forced to break should have approximately
the same height.
Allowed Values
inherit
CSS2
Type: Explicit
Description:
Explicitly sets the value of this property to that of the parent.
auto
CSS2
Type: Explicit
Description:
Insert a page break before the element as necessary.
avoid
CSS2
Type: Explicit
Description:
Avoid inserting a page break before the current element box.
left|right
CSS2
Type: Explicit
Description: left: Force one or two page breaks before the current element
box until a blank left page is reached. right: Force one or two page breaks before the current element
box until a blank right page is reached.
always
CSS2 | IE4
Type: Explicit
Description:
Always force a page break before the current element box.
[empty string]
IE5
Type: Explicit
Description:
No property value is used in this case. A page break is not inserted
before the current element box.
Example
Ext/Doc: p {
page-break-before:
always }
In-Line: <pSTYLE="page-break-before:
always">test text in the paragraph</p>
Notes
Before its inclusion in CSS2, this property was first proposed in the W3C
Working Draft "CSS Printing Extensions" (6/26/97,
http://www.w3.org/TR/WD-print)
Browser Peculiarities
Internet Explorer reference: "If there are conflicts between this
property and the page-break-after value on the following [element box],
the value that results in the largest number of page breaks will be used."
The Internet Explorer 4.0 reference material listed support for "auto",
"left" and "right" values, but the Internet Explorer 5.0 reference
material only lists "always" and "" (empty string) as valid.
Internet Explorer 4.0: This property has no effect on the BR element.
It does in IE 5.0.