Definition The page-break-inside property sets the page-breaking behavior inside an element. Note: You can not use this property on absol...
Definition
The page-break-inside property sets the page-breaking behavior inside an element.Note: You can not use this property on absolutely positioned elements.
Note: Use the page-breaking properties as few times as possible and avoid page-breaking properties inside tables, floating elements, and block elements with borders.
Inherited: No
JavaScript Syntax
CSS properties can also be dynamically changed with a JavaScript.Scripting Syntax: object.style.pageBreakInside="avoid"
Example
p { page-break-inside: avoid } |
Possible Values
Value | Description |
---|---|
auto | Default. Insert a page break inside the element if necessary |
avoid | Avoid inserting a page break inside the element |