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
}

Re: Printing Background Colors by Ray

Ray
Wed Dec 17 18:49:37 CST 2003

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

Ray at home

"Scott" <sbailey@mileslumber.com> wrote in message
news:#mNtcXPxDHA.2652@TK2MSFTNGP09.phx.gbl...
> 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
> }
>
>



Re: Printing Background Colors by Scott

Scott
Wed Dec 17 18:51:38 CST 2003

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

"Ray at <%=sLocation%>" <myFirstNameATlane34dotKOMM> wrote in message
news:uwMaG$PxDHA.3468@TK2MSFTNGP11.phx.gbl...
> This would best be asked in a group about web browsers. This group is all
> about server-side programming.
>
> Ray at home
>
> "Scott" <sbailey@mileslumber.com> wrote in message
> news:#mNtcXPxDHA.2652@TK2MSFTNGP09.phx.gbl...
> > 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
> > }
> >
> >
>
>



Re: Printing Background Colors by Chris

Chris
Wed Dec 17 19:21:50 CST 2003

"Scott" <sbailey@mileslumber.com> wrote in message
news:u8aQsEQxDHA.1908@TK2MSFTNGP10.phx.gbl...
> 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



Re: Printing Background Colors by dlbjr

dlbjr
Wed Dec 17 19:32:41 CST 2003

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