Grammar:
Page-break-inside:auto | Avoid
Parameters:
Auto: If you need to insert a page separator in the object container
Avoid: Prevents insertion of page separators in the current object container
Description
Retrieves or sets the page delimiter that appears in the object container.
Currently IE5.5 does not support this property.
The corresponding script attribute is pagebreakinside. Please refer to the other bibliography I have written.
Example:
p {Page-break-inside:auto}
The function of the Page-break-inside property in CSS is to set the paging behavior inside the element.
Page-break-inside attribute Instance
Page-break-inside Definition and usage
The Page-break-inside property sets the page-breaking behavior inside the element.
Although it is possible to force page breaks with always, there is no guarantee that the insertion of page breaks can be avoided, and the creator can only require the user agent to avoid inserting paging as much as possible.
Applies to: Non-floating block-level elements with a position value of relative or static.
Note: Use as few pagination properties as possible, and avoid using pagination properties in tables, floating elements, and block elements with borders.