print white text on black background

07-23-2002, 10:46 AM
Is there any way of forcing IE to print white text over a black background.

I have an HTML table with inverse colour column headers - ie white text on a blackbackground.

When I print this page using IE, the white text on black background comes out as grey text on no background.

Can anyone help me force the text to print white and the background colour to be black.

I've already tried an @media=print stylesheet with explicit style for setting the background colour of this cell. And also trying to set background images of cells. But because of IE's default settings (which I cannot change on clients) the printing in IE ignores background images and colours and decides to print it as the grey text.

Any suggestions?


inq :rolleyes:

07-23-2002, 05:01 PM
You're right, the printing options are controlled on the client side. But you can try this (similar to what you mentioned):
<style type="text/css>
@media print {
.title { color: black ; background-color: white;}
@media screen {
.title { color: white; background-color: DarkBlue;}

07-24-2002, 08:25 AM
Yep I'm trying something like that but to no success...

IE "cleverly" decides its going to ignore the background-color for the @media print. And also decides to convert the white text to a grey.

07-24-2002, 11:28 AM
Yeah, I really have no other ideas for this. Let me know if you come up with a solution.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum