This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > June 2005 > Forcing browsers to print backgrounds





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Forcing browsers to print backgrounds
poetdad

2005-06-29, 8:03 pm

How can I use DW/hmtl to force browsers to print table and layer background colours?

Thanks.

G
Steve Grosz

2005-06-29, 8:03 pm

As far as I know, you can't. Besides, why would you want to? I'd be
upset if I HAD to print your backgrounds every time...

poetdad wrote:
> How can I use DW/hmtl to force browsers to print table and layer background colours?
>
> Thanks.
>
> G

E. T. Culling

2005-06-29, 8:03 pm

You, as the browser, decide to print or not to print the backgrounds. You
should not force that on someone.
ETC
"Steve Grosz" <boise_bound@hotmail.com> wrote in message
news:d9uq93$np8$1@forums.macromedia.com...[color=darkred]
> As far as I know, you can't. Besides, why would you want to? I'd be
> upset if I HAD to print your backgrounds every time...
>
> poetdad wrote:


poetdad

2005-06-29, 8:03 pm

Good point. But the page looks like a ghost when printed otherwise.

Thanks though.

G
Gary White

2005-06-29, 8:03 pm

poetdad wrote:

>How can I use DW/hmtl to force browsers to print table and layer
>background colours?


You have to go to the computer where the file is being printed and
change the preferences for that browser. Other than that, you cannot.


Gary
mzanime.com

2005-06-29, 8:03 pm

My advice to you is to make a print style sheet. This way your page will look
"reasonably okay" when printed but look the way it was intended in a browser
window. Theres no real way to "force" browsers to print backgrounds if the user
has this option turned off.

But atleast with a print style sheet you can make the ghost look go away, for
example:

/* normal style sheet */
body { font-color:white; }


/* style sheet which is only seen when printed */
@media print {
body { font-color:black; }
}

P@tty Ayers

2005-06-30, 7:31 pm


> My advice to you is to make a print style sheet. This way your page will
> look
> "reasonably okay" when printed but look the way it was intended in a
> browser
> window.


Hopefully you understand that - and if it's your client who thinks that
hitting "Print" should automatically print something on an 8 1/2" x 11"
sheet of paper which miraculously looks just like a display on a computer
screen, he needs to be educated. The web and print are two completely
different things.


--
Patty Ayers | www.WebDevBiz.com
Free Articles on the Business of Web Development
Web Design Contract, Estimate Request Form, Estimate Worksheet
--


poetdad

2005-06-30, 7:31 pm

Yes, it's my boss who wants it to print. Now I have ammo to say it why can't. Thanks, everyone. I'm not sure what happened to the "paperless office" concept of days gone by...

G
P@tty Ayers

2005-06-30, 7:42 pm


"poetdad" <webforumsuser@macromedia.com> wrote in message
news:da0t08$qkd$1@forums.macromedia.com...
> Yes, it's my boss who wants it to print. Now I have ammo to say it why
> can't. Thanks, everyone. I'm not sure what happened to the "paperless
> office" concept of days gone by...


But I would tell him, it can print, but it will print in a way that's useful
on paper. It won't print like an artistic representation of a digital
display on a computer.


--
Patty Ayers | www.WebDevBiz.com
Free Articles on the Business of Web Development
Web Design Contract, Estimate Request Form, Estimate Worksheet
--


Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews