Copyright © tutorialspoint.com
The page-break-inside property indicates whether page breaks should be allowed within an element's box.
The value of this property is not the sole factor in determining whether a page break should follow the element. This decision will also be affected by the values of page-break-before and page-break-after for any descendant elements.
All the block level elements
Here is the example:
<style tyle="text/css"> <!-- ul, ol {page-break-inside: avoid;} table {page-break-inside: avoid;} p {page-break-inside: auto;} --> </style> |
For more detail please look into CSS Paged Media.
Copyright © tutorialspoint.com