title: How to separate body content with fixed header and footer for multiple pages
body: <p>I Have three separate section as <code>header</code>, <code>body</code> and <code>footer</code> to create pdf.</p>
  
  <p>Header part will come always at top of each page and it will be fix. </p>
  
  <pre><code> ______________________
  |        header        |
  |______________________|
  </code></pre>
  
  <p>Problem is with body content, if content is big it will go to second page.</p>
  
  <pre><code> ______________________
  |                      |
  |                      |
  |        body          |
  |                      |
  |                      |
  |______________________|
  </code></pre>
  
  <p>Footer part will come always at bottom of each page and it will also fix.</p>
  
  <pre><code> ______________________
  |        footer        |
  |______________________|
  </code></pre>
  
  <p>So If content is big and if two pages created then I should get two pages as: </p>
  
  <pre><code> ______________________
  |        header        |
  |______________________|
  |                      |
  |                      |
  |        Body Part1    |
  |                      |
  |                      |
  |______________________|
  |        footer        |
  |______________________|
  </code></pre>
  
  <p>And </p>
  
  <pre><code> ______________________
  |        header        |
  |______________________|
  |                      |
  |                      |
  |        Body part2    |
  |                      |
  |                      |
  |______________________|
  |        footer        |
  |______________________|
  </code></pre>
  
  <p>I tried with <a href="https://stackoverflow.com/a/1763683/5830872">table format</a>, It is working for header and content, but not worked for footer. Footer is coming only in bottom of second page not in first page. </p>
  
  <p>I am using <strong>laravel dompdf</strong> </p>
  
  <p>Any help would appreciated.</p>