title: set background image to a specified page with @page selector
body: <p>i would to create a pdf file from html with mpdf library. i would to set a background image just to 2'nd page of rendered pdf(not all pages). i use the following code:</p>
  
  <pre><code>$mpdf=new mPDF(''); 
  $html = '
      &lt;body&gt;
      &lt;style&gt;
        @page {
         background: url("../mpdf60/bg1.jpg") 50% 0 no-repeat;
       }
      &lt;/style&gt;
  
      &lt;div style="margin-bottom:50px"&gt;&amp;nbsp;&lt;/div&gt;
      &lt;div align="center" style=" margin-bottom:350px"&gt;&lt;img src="../mpdf60/pdffirst1.jpg" height="100" width="190" alt=""&gt;&lt;/div&gt;
  
      &lt;pagebreak /&gt;
      &lt;div&gt;
      &lt;/div&gt;
      &lt;/body&gt;';
  </code></pre>
  
  <p>in this code the background image set on all pages of rendered pdf(with @page selector).</p>
  
  <p>how can i set the background image just for one page(2'nd page)? thanks...</p>