|
you create a style sheet and insert it like this:
<link rel="stylesheet" type="text/css" href="print.css" media="print"/>
and put display:none or visibility:hidden for the elements you do not wish to show up on the printed page. The difference is that using dispay:none you remove the element from the page, whereas by using visibility:hidden you hide the element, but it still takes up space in the page. Use whichever better suits your needs.
|