If you want to move the content dynamically in the PDF page when the content does not fit in the PDF.
See below screenshot where opportunity table doesn’t fit into the PDF page

You want to achieve below screenshot

Use CSS page-break-after Property
style=”page-break-after:always;” inside div tag
