title: Wkhtmltopdf Snappy - Set Page Borders for all Pages
body: <p>I am using Laravel-Snappy for generating pdfs with wkhtmltpdf. I want to add a border in all pages that are created in the pdf file. At the moment, I have added this to the css:</p>
  
  <pre><code>body.pdf {
      border: 1px solid #000;
  }
  </code></pre>
  
  <p>My pdf html is like this:</p>
  
  <pre><code>&lt;html&gt;
      &lt;head&gt;
          &lt;title&gt;{{ $title }}&lt;/title&gt;
      &lt;/head&gt;
  
      &lt;body class="pdf"&gt;
  
        .....
  
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>With the above css, the border shows fine if it is a single page pdf. However, when it has multiple pages, the border breaks at the bottom of the first page and no more border shows from page 2 onwards after the page-break. I also read the documentation and I dont think there is an feature to add borders using <code>setOption()</code>.</p>
  
  <p>Is there a way to resolve it so the border appears in all pages when pdf is generated?</p>