I am trying to print my website using javascript but the print preview shows only header and footers and the rest is blank.

```
<a href="javascript:void(0)" onclick="window.print()">Print</a>

```

Can your guys help me on this one.