title: jQuery Print function to print div content with css
body: <p>I've this function for my Wordpress plugin uses jQuery that prints the content from the div with class "table_disp". How can I print the css style along with it. </p>
  
  <pre><code>function pop_print(){
      w=window.open(null, 'Print_Page', 'scrollbars=yes');        
      w.document.write(jQuery('.table_disp').html());
      w.document.close();
      w.print();
  }
  </code></pre>
  
  <p>Any idea?</p>