title: Javascript window.print() gives blank print preview
body: <p>I am trying to print my website using javascript but the print preview shows only header and footers and the rest is blank.</p>
  
  <pre><code>&lt;a href="javascript:void(0)" onclick="window.print()"&gt;Print&lt;/a&gt;
  </code></pre>
  
  <p>Can your guys help me on this one.</p>