CSS/Properties/page-break-before
From W3C Wiki
< CSS | Properties
- List of Properties
- Print
- page-break-before
- page-break-after
- page-break-inside
- orphans
- windows
- Print
Contents |
page-break-before
The page-break-before property sets page breaks before an element.
Description
| Values | auto | always | avoid | left | right | inherit |
|---|---|
| Initial value | auto |
| Applies to | block-level elements (but see text) |
| Inherited | No |
Values
auto
Neither force nor forbid a page break before the generated box.
always
Always force a page break before the generated box.
avoid
Avoid a page break before the generated box.
left
Force one or two page breaks before the generated box so that the next page is formatted as a left page.
right
Force one or two page breaks before the generated box so that the next page is formatted as a right page.
inherit
Takes the same specified value as the property for the element's parent.
CSS Reference
The CSS specification defines the page-break-before property in 13.3.1 Page break properties.
