title: Printing a DIV container without losing CSS styles
body: <p>After reading multiple articles, forums and so on, it gets to the point where I come &amp; seek your help.</p>
  
  <p>I am trying to add a Print button in a page, that would, upon clicking, print a table. I have tried jqprint (so far the best solution) but it's still not right:</p>
  
  <p>The layout of the page is a tab that contains an accordion. Inside that accordion is a table with multiple rows. There are hidden divs inside each rows.</p>
  
  <p>When the user clicks the Print button, the hidden divs are shown, and then, jqprint is called to print the table, using the ID as the selector.</p>
  
  <p>In FireFox:
  When I print into a PDF (to save paper and be nice with Mother Nature), only the first few rows of the table are printed. Basically, the PDF would contain many pages, but I only get the first one and nothing else after that.</p>
  
  <p>In Chrome:
  Doesn't work at all. The PDF is blank.</p>
  
  <p>If you know of a fix for jqprint or have any feedback on that problem, thanks in advance.</p>
  
  <p>Jonathan</p>