title: Adding Header or Footer on every page using ITextRenderer from HTML
body: <p>I'm creating an HTML report usgin freemarker, and i produce a PDF from that HTML using ITextRenderer.</p>
  
  <pre><code>ITextRenderer renderer = new ITextRenderer();
  renderer.setDocumentFromString(html);
  renderer.layout();
  renderer.createPDF(baosPDF);
  </code></pre>
  
  <p>I have a <strong>table</strong> in that html, with a header that successfully shows on every page using css classes:</p>
  
  <pre><code>thead { display:table-header-group }
  </code></pre>
  
  <p>Is it possible to do the same trick for an arbitrary section of my document? (let say, a <strong>div</strong>) I'ld like to keep my html vanilla, and identify the "header" and "footer" i want to see on every page using css.</p>
  
  <p>Is it possible, only with css?</p>