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
Read more here: How to find remaining page space using mpdf