Hiding header/footer on html print?

Hello all,

I am using what might be a “poor mans” reporting… html -> print.

Who knows a way to hide the browser-included header and footer of the
print?

thanks.

define arround your header and footer parts, and include a css
file
for print media…

and define those div’s to be hidden on the printer friendly css file.

JY

On 2/10/06, Joe Y. [email protected] wrote:

thanks.
Rails mailing list

What I meant was: The browser prints page-title and Page x of y on the
“header” fo the printed page, outside of the content HTML, and prints
the
URL and Date on the printed “footer” outside of the content HTML. I’m
looking for “generic” browser instructives to hide those
browser-inserted
elements.

Any ideas?

On 2/10/06, Joe Y. [email protected] wrote:

JY

href=“/prntfriendly.css”>

I am using what might be a “poor mans” reporting… html → print.

looking for “generic” browser instructives to hide those browser-inserted

Rails mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails

Thanks for the PNG. At least now I can suggest this for users.
Once I use PDF I won’t have this issue.

I’m pretty sure that those items are set up on the user’s end when
printing
HTML pages…look in the properties of the print dialog it should have
some
check boxes that ask to print the url of the page and page numbers, etc.

Attached is the dialog for Firefox 1.5+ print options…as far as I
know,
there is no way to programically control with HTML the print options a
user
has set for printing.

JY