Print Form Without Printing Page Header

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have forms in my site that appear with the page header at the top, which is
a colorful header.

I wanr users to be able to print the form without having to waste ink on the
header.

Can someone please give me the code to just print the information in the
form without them having to also print the header and waste ink?

Thanx & Luv :)
 
In Code view

Change

</head>

To

<style type="text/css" media="print">
#header {display:none;}
</style>
</head>

Then wrap the colourful header in a <div>

<div id="header">Colourful Header Goes Here</div>

The header will show in most browsers but will not print.
 
Back
Top