CSS page-break-inside
The CSS page-break-inside
property is used to specify page breaks in paged media.
Syntax
Possible Values
auto
- Neither force nor forbid a page break inside the generated box.
avoid
- Avoid a page break inside the generated box.
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?
- Yes
- Media
- Visual, paged
Example Code
Official Specifications
- CSS Level 2.1 (W3C Recommendation 07 June 2011)