Type: | "auto" or "avoid" |
---|---|
Inherited: | yes |
Used By: | All block elements |
Default: | "auto" |
See: | orphans widows page-break-after page-break-before |
Whether to allow the specified item to be split at the end of the page if necessary.
Some items can never be split, regardless of the setting of this element (images, for example). This tag can be used on tables, lists and paragraphs however, which are split at page breaks by default.
Prevent this table from being split into two to fit on the page
<table page-break-inside="avoid"> <tr> <td>Column 1</td> <td>Column 2</td> </tr> <tr> <td>Column 1</td> <td>Column 2</td> </tr> </table>