Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Printing background-color style

0 views
Skip to first unread message

Nathan Truhan

unread,
Apr 25, 2005, 10:51:02 AM4/25/05
to
I know I can't be the only one who had this problem.

I have a page that prints a schedule of classes for our campus. There is a
designation that if a class is held on a weekend or at night, it is
highlighted with the background becoming light grey. This is carried over
from our paper schedule of classes, which is not going to be printed
anylonger.

I am currently using a DataList to diplay the items, and injecting a
asp:label item for each row with formatting.

I have two styles, one for daytime classes, which sets the font and size.
and a nighttime which sets all that plus the background-color: lightgrey;

When rendering to the screen, it shows fine. Highlighting is working.
However when you click print-preview, or just print, the background-color is
gone. However the fonts and sizes remain. I have even tried the Hex values
for the color as well with no luck.

Does anyone have an idea how I can get the background to display for this
label?

Thank you,
Nathan

McKirahan

unread,
Apr 25, 2005, 11:50:59 AM4/25/05
to
"Nathan Truhan" <ntr...@nospam.nospam> wrote in message
news:09A357CD-AF9D-46A7...@microsoft.com...

What browser are you using?

You have to enable background color printing.

Under IE5.5 it's Tools+Internet Options+Advance+Print background colors and
images.


0 new messages