Copyright © tutorialspoint.com
The page-break-before property indicates whether (and how many) page breaks should be allowed before 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 value of page-break-after for a preceding element, and the value of page-break-inside for any ancestor elements.
All the block level elements
Here is the example:
<style tyle="text/css"> <!-- h1 {page-break-before: right;} table {page-break-before: always;} --> </style> |
For more detail please look into CSS Paged Media.
Copyright © tutorialspoint.com