CSS PAGE-BREAK-INSIDE

This property specifies the page-breaking behavior that should occur inside an element’s rendering box. Page breaks are not allowed in absolutely positioned elements.

Example


p {
page-break-inside: auto
}

Text in paragraph


Possible Values

inherit: Explicitly sets the value of this property to that of the parent.
auto: Insert page breaks inside the element box as necessary.
avoid: Avoid inserting page breaks inside the current element box if possible.