Menu
The page-break-inside
property designates whether or not a page-break should be avoided inside the element.
This property cannot be used on absolutely positioned elements. page-break-before
, page-break-after
, and page-break-inside
are all used to designate how a document will print.
@media print {
blockquote { page-break-inside: avoid; }
}
auto
Default value. Page breaks are automatic.
avoid
If possible, avoid page-break inside the specified element.
initial
Sets the property to its default value.
inherit
Inherits this property’s value from its parent item.
Have a code example of page-break-inside
? Submit a codepen.io demo and we'll showcase it here ↴