Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Disable default page headers and footers

Status
Not open for further replies.

CapeMan

Programmer
Feb 14, 2001
9
GB
Hi all

At run-time I wish to disable the default page header and footer sections of a page being printed.

I am aware of the onBeforePrint and onAfterPrint events and make use of them already to hide the Print button.

I know that this question has been asked before, but has not been answered.

Thanks

Rich B-)
 
yes i's just been answered, basically the idea is to use 2 style sheets
i'll copy the thread number later on (IF i have time to and IF i remember to and IF i find it !!)
 
was just under !
thread216-49326
the answer(s) is (are !) in it !! i've just checked !
 
Sorry iza, but my question has not been answered. If you go to your browser's File - Page Setup (IE5.0), check out the Headers and Footers section.

Those are the headers and footers that I am talking about. Can they be changed or disabled during run-time, ie. automatically?

Cheers

Rich

 
use the css tag : @page
the specs are on thew3c site ... i can't help more, i don't even use ie5 - so i don't know about this header and footer - but i know the @page property is used to set exactly what you want to be printed
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top