title: Page footer centering using MPDF
body: <p>I have this pdf:
  <a href="https://i.stack.imgur.com/Bap8J.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Bap8J.png" alt="enter image description here"></a></p>
  
  <p>How can I make the page numbering centered instead of right alignment?
  This is how I added the page numbering:</p>
  
  <pre><code>   include("mpdf60/mpdf.php");
  
     $mpdf=new \mPDF('c','A4','','' , 0, 0, 0, 0, 0, 0);
  
     $mpdf-&gt;setFooter('{PAGENO} of {nbpg}');
   $mpdf-&gt;WriteHTML($body);
  
         $mpdf-&gt;Output('Packing Slip.pdf','I');
  </code></pre>
  
  <p>How can I make it center? its the 'setFooter' ?
  Im am using mpdf.</p>