title: Prevent body overlapping footer in mPDF
body: <p>I'm generating PDFs using mPDF library, and my header and footer vary in size depending on a couple of parameters.</p>
  
  <p>A static solution would be to set the footer margin, which will solve the overlapping - but as the footer may vary in size this is not a solution I feel happy with. Is there a way to get the footer dimensions and apply the margin accordingly?</p>