473,396 Members | 1,813 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Cannot print table background color

I have a cell in table with background color set to red, for example

<table>
<tr><td bgcolor="red">ABC</td></tr>
</table>

I print this page to a color printer, however, no background color is
printed (red in this case)

So if it a IE problem or HTML behavior like this?

Thanks in advance,
Jason

Jul 24 '05 #1
5 47347
Els
Jason Chan wrote:
I have a cell in table with background color set to red, for example

<table>
<tr><td bgcolor="red">ABC</td></tr>
</table>

I print this page to a color printer, however, no background color is
printed (red in this case)

So if it a IE problem or HTML behavior like this?


IE: internet options -> advanced tab -> printing: print background
colours and images

(or something similar, as I just translated that from Dutch)
--
Els http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
Now playing: UB40 - Groovin' (Out On Life)
Jul 24 '05 #2
Jason Chan wrote:
I print this page to a color printer, however, no background color is
printed (red in this case)

So if it a IE problem or HTML behavior like this?


Most browsers come with a preference to prevent the printing of background
colours and images (since they aren't part of the content and just munch
through expensive ink/toner). Its usually on by default.

It isn't a problem with the browser, not a design if HTML - its a user's
decision.

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Jul 24 '05 #3
David Dorward wrote:
Jason Chan wrote:
I print this page to a color printer, however, no background color
is printed (red in this case)

So if it a IE problem or HTML behavior like this?


Most browsers come with a preference to prevent the printing of
background colours and images (since they aren't part of the content
and just munch through expensive ink/toner). Its usually on by
default.

It isn't a problem with the browser, not a design if HTML - its a
user's decision.


It's more like a manufacturer's decision -- most users certainly won't
fiddle around with those settings. (And no, I don't have stats at hand,
but I watch people use browsers.) More advanced users like you and me
certainly know how to handle settings, or even to write a
user-stylesheet.

--
Google Blogoscoped
http://blog.outer-court.com
Jul 24 '05 #4
On Mon, 30 May 2005, Philipp Lenssen wrote:
David Dorward wrote:
It isn't a problem with the browser, not a design if HTML - its a
user's decision.
It's more like a manufacturer's decision


Do we *have* to have this pointless argument about *every* browser
option which gets raised? This is an HTML authoring group, after all.
-- most users certainly won't fiddle around with those settings.
The browser developers evidently thought it was sufficiently important
to implement a user option. Along with all the other user options
that they implemented (which, it seems, you would have us believe are
practically never used).
(And no, I don't have stats at hand,
For HTML authoring purposes, fortunately, I don't need them; I
wouldn't believe them anyway, since I know there's no reliable way of
collecting them.
but I watch people use browsers.)


Well, some of the people I watch are rather more discerning in their
use of browsers.

The "manufacturer" decided to offer a user option, that much is clear.
*They* must have thought it was worth their effort, even if you
believe that hardly anybody will ever use it.
Jul 24 '05 #5
David Dorward wrote:
Jason Chan wrote:

I print this page to a color printer, however, no background color is
printed (red in this case)

So if it a IE problem or HTML behavior like this?

Most browsers come with a preference to prevent the printing of background
colours and images (since they aren't part of the content and just munch
through expensive ink/toner). Its usually on by default.

It isn't a problem with the browser, not a design if HTML - its a user's
decision.


An obviously necessary one--imagine how much ink would be wasted if
colored backgrounds in the browser were also rendered by default on the
printer.
Jul 24 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Billy | last post by:
Hello, I'm having a problem dynamically changing the color of a table background. I'm not sure exactly how to word this, but I'll give an example. I have a function called greentored(propname)...
3
by: Vam | last post by:
Hi, My program makes an HTML report which needs to be easily printable. On this report is a table, and one of the columns in the table needs to express a color. I've done this by setting the...
1
by: IntraRELY | last post by:
I am having an issue giving a page with a datagrid a background color. Is there something I am missing, I dont seem to have a problem when there is no datagrid and every page there is one I cannot...
1
by: HS1 | last post by:
Hello I can change the background of each page of a TabControl but cannot change the background (BackColor) of this tabcontrol. I did not see it in the properties page. If you know how to...
10
by: Bob Bedford | last post by:
I've a table in wich I've this CSS: ..oddrow{background-color:#FFFFFF} ..evenrow{background-color:#CCCCCC} The oddrows are white and the even are grey. BUT ! when I do print the table,...
1
by: slyi | last post by:
Hi All, Does anyone use vml to force the printing of background-colors in IE clients? Regards, slyi eg: <html xmlns:v="urn:schemas-microsoft-com:vml" >
3
by: lovely_angel_for_you | last post by:
Hi, I have following link. By visitng first in IE, and then in Firefox, you would get to know my issue. http://lovely.angel.for.you.googlepages.com/test.htm...
2
by: Stratocaster | last post by:
Hi all, I am having quite a time with Firefox. It refuses to display the background color of my table. I am at a loss as to why. I have validated the code and the errors were all in reference to the...
18
by: JohnDriver | last post by:
Hi, I am happy to say that with your help, I have been performing good in Ajax. Thanks for helping me to start with. I have a small problem now. I am pulling records from database and passing...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.