CSS page-break-before
The CSS page-break-before
property is used to specify page breaks in paged media.
Syntax
Possible 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.
In addition, all CSS properties also accept the following CSS-wide keyword values as the sole component of their property value:
initial
- Represents the value specified as the property's initial value.
inherit
- Represents the computed value of the property on the element's parent.
unset
- This value acts as either
inherit
orinitial
, depending on whether the property is inherited or not. In other words, it sets all properties to their parent value if they are inheritable or to their initial value if not inheritable.
General Information
- Initial Value
auto
- Applies To
- Block level elements
- Inherited?
- No
- Media
- Visual, paged
Example Code
Official Specifications
- CSS Level 2.1 (W3C Recommendation 07 June 2011)