title: How to print inline CSS styles?
body: <p>is there a way to print css styles, that are inline?</p>
  
  <p>I use this code to print part of the code:</p>
  
  <pre><code>w=window.open();
  w.document.write($('#printable').html());
  w.print();
  w.close();
  </code></pre>
  
  <p>I could use external file and make it media=print, but part of the html are chars, that are generated by php and I could make it by making class for every posible outcome, but that would be pain.</p>
  
  <p>Any ideas? Thanks.</p>