views:

101

answers:

3

By default, when you print a web page, the page title and and URL are printed at the top of the page, and likewise the date and time are printed at the bottom.

It is possible to remove this additional as you are printing through the PAGE SETUP menu (under FILE in Internet Exp)

Does anyone know of a way of doing this via CSS or javascript?

A: 

The print header and footer are client specific. You can't control that with HTML/CSS/JS. You can only control the print body.

Your best bet is to provide a PDF or some other generic file format which the client needs to download/print separately.

BalusC
+1  A: 

You cannot make these things disappear as they are user settings and are not considered part of the page you have control over.

http://css-discuss.incutio.com/wiki/Print_Stylesheets#Print_headers.2Ffooters_and_print_margins

greim
+1 Good call, didn't know about this.
R0MANARMY
A: 

There's a facility to have a separate style sheet for print, using

 <link type="text/css" rel="stylesheet" media="print" href="print.css">

I don't know if it does what you want though.

Kinopiko
He's asking to change the print page's header and footer, not body.
BalusC
I know that, but I don't know if it is possible to do that with the CSS or not.
Kinopiko