CSS page break inside Property
CSS page-break-inside Property
The page-break-inside property is used to define whether a page-break is avoided inside a specified element or not. Similar properties like it are page-break-after and page-break-before. It helps to define how a document will behave when printed.
Default Value:-
Its default value is auto.
Syntax:-
Its syntax is:- page-break-after: auto | avoid | initial | inherit;
Further Explanation:-
Value | Description |
---|---|
auto | Automatic page-break |
avoid | Avoid a page break before the element. |
initial | Sets this property to its default value. |
inherit | Inherits this property from its parent element. |