Hide header and footer when printing from Internet Explorer using Javascript or CSS
- by molasses
When I print a webpage from Internet Explorer it will automatically add a header and footer including the website title, URL, date, and page number.
Is it possible to hide the header and footer programatically using Javascript or CSS?
Requirements:
works in IE 6 (no other browser support necessary as its for an Intranet)
may use ActiveX, Java Applet, Javascript, CSS
preferably not something that the user needs to install (eg. http://www.meadroid.com/scriptx). feel free to list other third party available plug-ins though as I think this may be the only option
don't require the user to manually update their browser settings
don't render the pages as PDF or Word document or any other format
don't write to the registry (security prevents this)
Thanks