On Thu, 06 Mar 2008 22:53:51 +1100, in comp.lang.javascript Andrew
Poulos <>
<47cfdb4e$0$23635$> wrote:
>| I can setup a print CSS file to control how my page prints but is there
>| a way to hide the header and the footer?
>|
>| Currently the page's title and URL display in the header and page number
>| and date in the footer and I'd rather they didn't print.
>|
>| Andrew Poulos
As others have stated, this is not a javascript of css problem.
You can however use an ActiveX control to set margins etc
http://www.meadroid.com/scriptx/freedep.asp
Note that is will not work in browsers that do not support ActiveX.
The user will be prompted to install this on their machine (you may
want to have some information about this on your web page).
It changes the settings of the printer and can affect other
applications.
-- -------------------------------------------------------------
: Remove your pants to reply
-- -------------------------------------------------------------