title: How to add footer to bottom of each page when converting HTML to PDF
body: <p>I am converting my HTML into a PDF report. I want the footer to show up at the bottom of the last page, even if there is a single line of text on that page. Can you please help?</p>
  
  <p>I am using wkhtmltopdf tool to convert the files. I have searched a lot and only solution i could find is this: </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>    body{
      position:releative;
      }
      
      footer{
      position:absolute;
      bottom:0;
      right:0;
      float:right;
      }</code></pre>
  </div>
  </div>
  </p>
  
  <p>This generates a footer on the bottom of the first page. </p>
  
  <p>thanks !</p>