Link to home
Start Free TrialLog in
Avatar of Paul Risko
Paul RiskoFlag for United States of America

asked on

Add logo when printing from browser

This may sound a little odd but what I want to do is print a logo (jpg) with the article content when the user selects print from the gray print drop down menu on the page. Same logo for every page printed from this site.

I don't want the logo in the article.

http://orderfiltersnow.com/
ASKER CERTIFIED SOLUTION
Avatar of Chris Stanyon
Chris Stanyon
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Paul Risko

ASKER

Ok. I will do that later. Thanks!
Works but now my drop down menu is gone.
In your template.css, line 1, you've set a lot of other things to display: none, including header, footer and nav - the nav is what contains your dropdown.

All I meant was that you needed to hide the #printLogo using it's own rule:

#printLogo {
  display: none; 
}

Open in new window

Like so should be fine?

img {
      max-width: 100%;
      width: auto \9;
      height: auto;
      vertical-align: middle;
      border: 0;
      -ms-interpolation-mode: bicubic;
}
#printLogo {
  display: none;
}
#map_canvas img,
.google-maps img {
      max-width: none;
}
Yeah - that should do it.
Do you know if there is a way I can include

<link rel="stylesheet" media="print" href="/print_styes.css">
<div id="printLogo"><img src="http://www.orderfiltersnow.com/images/headers/mainlgog.jpg" alt=""/></div>

Every time I start a new article with out having to paste it every time?
It's not a big deal to paste it. I'm just afraid I'll forget later on.
No idea. If your site is template based, then you could add it to a template, but it'll depend on how your site is set up.