background image won't print (Full Version)

All Forums >> [Web Development] >> Dreamweaver Help



Message


jlbettencourt -> background image won't print (2/5/2008 11:11:19)

ok, so i have been give the responsibility of maintaining my company's website. i've never done this before and i have no clue what was used to modify the website before, but i'm using dreamweaver cs3 now. everything looks good, but when i go to print the page out of ie7, none of the background images or colors print. i know most people probably aren't printing my company's webpage, but i would like these to show up anyways and i have no clue where to start. help!!!

www.whelanassociates.com/index_sample.html




Tailslide -> RE: background image won't print (2/5/2008 11:17:14)

You can't control whether background images are printed or not - that's a user thing. They can set their printer to print background images but most don't know how and those that do won't because it's a waste of printer ink!

If you want your logo to appear then what I do is to produce a simpler print version of the logo, add it into the markup on the page at the top but with a class of "printlogo". Then I add it into the stylesheet like this:

img.printlogo {display:none;}


which will hide it from normal view. Then I add a print stylesheet which shows it:

img.printlogo {display:block;}


The print stylesheet is added to the page under your normal stylesheet like this:

<link rel="stylesheet" type="text/css" media="print" href="print.css"  />


The other alternative would just be to have the logo bit of the top background image as an actual image in the markup - probably better and more semantic way of doing things. Then unless the user has their printer set up to block all images - it will print.




swoosh -> RE: background image won't print (2/5/2008 11:18:04)

Turn on that feature by going to TOOLS within the browser and INTERNET OPTIONS. Select the ADVANCED TAB and then scroll down to the printing section. You will see the option for print background image and colors.

Welcome to Outfront

P.S. Tails suggestion would be a better fit if you want your visitors to print your logo.




jlbettencourt -> RE: background image won't print (2/5/2008 11:26:36)

i didn't realize it was a browser thing...duh. Thanks!!!




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.046875