Will javascript print an image only and not the entire web page

They have: 10 posts

Joined: Jun 2006

Will javascript print JUST an image on a web page or is there only the print window script available for printing? I have a gif on an html page I would like to offer for printing - not the whole html page.

Thanks for any help.

xtreme

pr0gr4mm3r's picture

He has: 1,502 posts

Joined: Sep 2006

You can have different CSS sheets for printing, and you can use that to hide certain parts of the page. Here is one of the articles out there with more information -> http://meyerweb.com/eric/articles/webrev/200001.html.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.