page-break-after
The page-break-after CSS property adjusts page breaks after the current element.
This properties applies to block elements that generate a box. It won’t apply on an empty
Values
auto
Initial value. Automatic page breaks (neither forced nor forbidden).
always
Always force page breaks after the element.
avoid
Avoid page breaks after the element.
left
Force page breaks after the element so that the next page is formatted as a left page.
right
Force page breaks after the element so that the next page is formatted as a right page.
Example
<html> <head> <style> @media print { table { page-break-after: always } } </style> </head> <body> .... </body> </html>