Printing Background Colors

S

Scott

There is a setting in IE for "Print background colors and images."

I've noticed that without checking this option, a web page will print CSS
lines between table rows, but a background color of say the header won't.
The below style will display the borders in print preview, but won't display
the background color.

Does anyone know if it's possible to force background CSS or HTML colors to
print without having the user change the default in IE to not print
background colors?


.ReportSummaryHeader {
font-family:verdana,arial,sans-serif;
font-size:10px;
font-weight:bold;
float: none;
color:#ffffff;
border-top: #cccccc 1px solid;
border-bottom: #cccccc 1px solid;
background-color:#8caae7;
padding:3px
}
 
R

Ray at

This would best be asked in a group about web browsers. This group is all
about server-side programming.

Ray at home
 
C

Chris Hohmann

Scott said:
Sorry about wrong group, do you know the name of any MS forums that speak
CSS?

microsoft.public.windows.inetexplorer.ie55.programming.css
microsoft.public.siteserver.css
comp.infosystems.www.authoring.stylesheets
netscape.public.dev.css

The last two(2) are not MS forums but may still be a valuable resource.

HTH
-Chris Hohmann
 
D

dlbjr

This option is turned off by default.
You cannot enforce background colors to print with CSS.
In an intranet environment, you can enforce this setting and the page
parameter settings in the registry with a login script.

-dlbjr

Discerning resolutions for the alms
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,767
Messages
2,569,571
Members
45,045
Latest member
DRCM

Latest Threads

Top