title: How I prevent background image from reapet using mpdf with codeigniter
body: <p>I am using the mPDF plugin in CodeIgniter. I intend to insert a background image to every page of a dynamically generated PDF document, but I want to prevent the background image from being repeated using <code>background-repeat: no-repeat</code>.</p>
  
  <p>When I used the above CSS property, my image will become hidden.</p>
  
  <p>Below are my codes:</p>
  
  <pre><code>&lt;div style="width:800px; height:600px; background-image:url('&lt;?php echo base_url('dashboard/img/backlog.png')?&gt;') ; background-position:center; background-repeat:no-repeat;"&gt;     
  </code></pre>
  
  <p>Note: when I remove <code>background-repeat: no-repeat;</code> property, the background image will be shown and repeated.</p>