Forum Moderators: open

Message Too Old, No Replies

using javascript to print background colors

is it possible? if so how?

         

lindajames

6:59 pm on Mar 23, 2004 (gmt 0)

10+ Year Member



Hi,

I just realised that internet explorer by default doesnt print background table cell colors and background images. The only time it does, is if you specify it in the settings.

I was wondering is there any javascript to bypass this, so that it prints background colors? as i need to background colors to print in the invoices i send

Cheers
Linda

ajkimoto

9:38 pm on Mar 23, 2004 (gmt 0)

10+ Year Member



Linda,

According to css guru Eric A. Meyer, there is no way to do this using css. I can't think of any way to do this using js either. I did find an activeX object that will do it in IE, but it would not be cross-browser compatible.

I'm pretty sure that the only cross browser way to print the background colors is to change the setting in your browser manually.

ajkimoto