title: mPDF: how to remove setHeader() & setFooter() borders
body: <p>i have a mPDF report on my system and in the report, it has a header and footer where i use <code>$mpdf-&gt;setHeader();</code> &amp; <code>$mpdf-&gt;setFooter();</code> to set the header and footer. but it displays a bottom border for header and top border for footer. can anyone help me how to remove this?</p>
  
  <p>heres the image:</p>
  
  <p><a href="https://i.stack.imgur.com/cAF6U.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/cAF6U.jpg" alt="enter image description here"></a></p>
  
  <p>Here's my Code:</p>
  
  <pre><code>$mpdf=new mPDF('','LETTER-L','','',35,35,60,25,10,10);
  //left margin, right margin, body, top margin,top margin,bottom margin, 
  
  /*HEADER Monthly Accomplishment Report*/
  $mpdf-&gt;SetHeader('Sample');
  
  
  /*FOOTER xMonthly Accomplishment Report*/
  $mpdf-&gt;SetFooter('Sample');
  
  
  
  
  //==============================================================
  //=====================FILE DESCRIPTION=========================
  //==============================================================
  $mpdf-&gt;SetTitle('Monthly Accomplishment Report');
  $mpdf-&gt;SetSubject('Report');
  $mpdf-&gt;SetAuthor('sample');
  $mpdf-&gt;Output('sample.pdf','I');
  exit;
  //==============================================================
  //==============================================================
  //==============================================================
  </code></pre>