derdida
derdida

Reputation: 14904

DomPDF Prevent Header beeing last element of page

Is there any way to get the Y Position of a specific HTML Element? I would like to make a page Break before a heading, if the heading is the last element of the page:

enter image description here

Ill tried already with Javascript, but it seems JS is not working with DomPDF.

Upvotes: 0

Views: 56

Answers (0)

Related Questions