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?
Historically, it’s been impossible to make these things disappear as they are user settings and not considered part of the page you have control over.
However, as of 2017, the
@pageat-rule has been standardized, which can be used to hide the page title and date in modern browsers:… i.e. setting a margin of 0 hides the page title because the title is printed in the margin.
Credit to Vigneswaran S for this tip.