473,624 Members | 2,254 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Print tables with cell background colors

Hi,

I have a table with coloured cells. I want to print out the table via IE
with the coloured cells.

But the outcome of the table does not have the cells coloured.

Are there ways to force out the colouring of the cells in the print outs?

(Either via php/asp/css or any means)

Please advise.

Thanks

Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com
Feb 8 '07 #1
4 4471
On Feb 9, 12:21 am, "Eric Layman" <namyalcire[at no spam]gmail.com>
wrote:
Hi,

I have a table with coloured cells. I want to print out the table via IE
with the coloured cells.

But the outcome of the table does not have the cells coloured.

Are there ways to force out the colouring of the cells in the print outs?

(Either via php/asp/css or any means)

Please advise.

Thanks

Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com
<td bgcolor ="#xxxxxx"ma y be used to control individual cell
background color

Feb 8 '07 #2
Eric Layman wrote on 08 feb 2007 in
microsoft.publi c.inetserver.as p.general:
I have a table with coloured cells. I want to print out the table via IE
with the coloured cells.

But the outcome of the table does not have the cells coloured.

Are there ways to force out the colouring of the cells in the print outs?

(Either via php/asp/css or any means)

Please advise.
Not a ASP Q.
[unless you would like to print on serverside,
in which case there is no browser involved]

Please do not crosspost in unrelated NGs.

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Feb 8 '07 #3
On 2007-02-08 19:21:21 +0000, "Eric Layman" <namyalcire[at no
spam]gmail.comsaid:
Hi,

I have a table with coloured cells. I want to print out the table via IE
with the coloured cells.

But the outcome of the table does not have the cells coloured.

Are there ways to force out the colouring of the cells in the print outs?

(Either via php/asp/css or any means)

Please advise.

Thanks

Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com

The user has to turn on background printing in their browser.
It is off by default in all browsers.

--

S.

Feb 11 '07 #4
On Sun, 11 Feb 2007 22:48:45 +0100, Siggi Árni <si********@yah oo.com>
wrote:
On 2007-02-08 19:21:21 +0000, "Eric Layman" <namyalcire[at no
spam]gmail.comsaid:
>Hi,
I have a table with coloured cells. I want to print out the table via
IE
with the coloured cells.
But the outcome of the table does not have the cells coloured.
Are there ways to force out the colouring of the cells in the print
outs?
(Either via php/asp/css or any means)
Please advise.
Thanks
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com


The user has to turn on background printing in their browser.
It is off by default in all browsers.
You could of course output the data as a marked up pdf. Then the print
probably will show the colours.

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Feb 11 '07 #5

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

Similar topics

1
2682
by: RoDzZzZ | last post by:
when i try print (ctrl +p) my webpage, my printer not print the backgrounds and bgcolors of my tables.... what i need make to show the backgrounds and bgcolors in my paper when the user print the page? thankzzz
3
37205
by: Felix Natter | last post by:
hi, is there a way (html/css/javascript) to force IE to print background-colors exactly as specified in html/stylesheets? I tried to use @media print { ... } to override IE's "print background colors + images" option, but it doesn't work. Any other idea? I'd like to avoid relying on the user for setting this option.
7
10434
by: John A. | last post by:
Hello all! I've got a big bunch of pages using tables for layout. Eventually I'll get them set up with more modernized code, but in the meantime I'd like to slip in a little quick holiday decoration. I'd like to insert a table cell with a fixed width (as much as such things can be fixed) and a repeating garland background so as to show up along the left side of the table, repeating down its length. Our site has a couple thousand...
5
4630
by: Lee K. Seitz | last post by:
I have a set of pages with a special stylesheet used to override some styles for printing. One of the things I've tried to do is reverse the colors of my navigation. On the screen, I have a black background and the navigation is red on yellow. For print, I (obviously) have a white background and wanted the navigation to be reversed (yellow on red) for better clarity. I've done print preview in IE 6, Opera 7.5, and Netscape 7.1 (all...
3
4744
by: Peter Williams | last post by:
Hi All, I want to write some javascript for a html page which does the following. Imagine that the page contains a table with 2 columns and 3 rows, e.g.: +---+---+ | A | B | +---+---+
1
2218
by: Amirallia | last post by:
Hello, If I want to print a page with a table with cells colored in differents colors, assuming default settings in browser, when I view the page, all the colours disappear. I know that one of the default settings in my browser is 'don't print out the background colour' which is fine because this would use lots of ink, but my table cell colours anr not showing up. A idea is to replace the cell color with image, but I don't want to use
6
1546
by: yawnmoth | last post by:
Tableless design for non-tabular data seems to be a pretty highly recommended thing to do, but I'm not really sure what consitutes tabular data and what doesn't... any ideas? Also, if you do have two pieces of tabular data, would it be okay to display one within the other? eg. to have a table within a table? Or is that generally considered "bad form"?
4
1290
by: axlq | last post by:
Suppose I had to lay out a part of a page where I wanted to retain the horizontal and vertical relationship of the elements. Yes, this is what tables are for. I was curious if it can be done in CSS, in a way that works across all browsers. For example: +------------------------------------------------------+ | +--------------------------------------------+ | | |+---------------------+ +------------------+| | | || a...
32
2719
by: Simon Dean | last post by:
Duh... Not another one... Hopefully simple though, I hate the way *I* (and it might be a CSS trait) can't intermix fixed width divisional elements with a variable auto expanding div??? The great thing I loved with Tables, was being able to say:
0
8619
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8334
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7158
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5561
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4078
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4173
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2604
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1784
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1482
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.