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
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.