title: Stategies for printing multiple page HTML tables and dealing with page breaks
body: <p>I have seen this <a href="https://stackoverflow.com/questions/1763639/how-to-deal-with-page-breaks-when-printing-a-large-html-table">similar</a> question.</p>
  
  <p>(I highlighted the important bits to make skim-reading the question faster)</p>
  
  <p>To add to it though, I would like to <strong>format an HTML table</strong> (with a lot of rows) in such a way that when printed, it would <strong>repeat the table headers after each page break</strong>.  Another words, for the table headers to be visible at the top of each printed page.</p>
  
  <p>Some things I have tried was, when generating the HTML, <strong>counting the number of rows, then putting blank rows where I was expecting a page break to occur.</strong>  At this point I would put in the table headers again.</p>
  
  <p>However, depending on what printer is used, the page <strong>breaks end up in different spots</strong>. Because each printer seems to have slightly different margin settings, font sizes, etc...</p>
  
  <p>This of course, <strong>throws off this whole idea of predicting where a page break will occur.</strong></p>
  
  <p>What strategies do other people use to print HTML tables/forms while maintaining proper formatting?</p>
  
  <p>any ideas?</p>