You can also easily control what parts of your page print out by adding a special stylesheet that will be used for printing to the <head> section of your page like this
Code:
<link rel="stylesheet" href="print.css" type="text/css" media="print" />
The print.css file should contain the following:
Code:
body {visibility:hidden;}
.print {visibility:visible;}
Now all you need to do is to assign class="print" to whatever parts of your web page that you want to have print out. Anything on the page not assigned to this class will not print.
Bookmarks