Little Web Hut

CSS 2.1 Reference: page-break-inside Property

CSS page-break-inside Property
Syntax
selector {page-break-inside: value;}
  • value is specified by using one of the following keywords: avoid, auto, or inherit.
Usage

The page-break-inside property is used with paged media. Paper, and discrete pages displayed on a computer screen, are both examples of paged media. This property describes how page breaks should be handled inside the current element's box.

This property is specified by using a keyword according to the syntax shown above.

Keywords
  • avoid - Avoid a page break inside the element's box.
  • auto - A page break is not forced or prevented inside the element's box.
  • inherit - The inherit keyword is used to specify that the value for this property should be taken from the parent element. If inherit is used with the root element, then the initial value for this property will be used.
Applies To Block level elements
Inherited No
Initial Value auto