Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: page header and footer


Message #1 by "Brian Benson" <brian@a...> on Tue, 12 Jun 2001 17:32:39 -0700
I posted this a couple of days ago
wrap the footer and header with <div class="noprint">
and add to the stylesheet (CSS)

@media print {
   .noprint { display:none }
}

I can't really tell you which browser will support that. Never had to do
anything like that.

From: "Brian Benson" <brian@a...>
Date: Tue, 12 Jun 2001 17:32:39 -0700

Does anyone know of a way to remove the page header and footer
automatically
when printing a web page?  I don't want the user to have to do it
himself.



  Return to Index