How to find remaining page space using mpdf

enter image description here

I want to find remaining page space for my content. If content cannot comes fit in the page then I want to move the content next page.

Actually i am showing wordpress posts. In the below image the circle is one post but some part is upper and some below page. but I want all this in the below page.
I am using mpdf.

Read more here: How to find remaining page space using mpdf

Leave a Reply

Your email address will not be published. Required fields are marked *