HTML and CSS Reference
In-Depth Information
Name
page-break-inside
Values:
auto
|
avoid
Initial value:
auto
Applies to:
Block-level elements
Inherited:
No
Computed value:
Same as declared value
Description:
Defines whether a page break should be avoided within the element. Note that such avoidance
may not be possible; for example, declaring
body {page-break-inside: avoid;}
for a
lengthy document will not prevent the insertion of page breaks by the user agent.
This property is essentially replaced by
break-inside
, but browser support for
page-break-
inside
may be stronger.
Examples:
table {page-break-inside: avoid;}