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

Home Posts Topics Members FAQ

Form Table Printing Issue with background colours

Ive created a aspx form using tables and flowlayout, I've set the background
colour on certain
rows, which show great in the browser, however when i use print preview the
colours
have dissapeared,
any ideas ?

cheers

mark
Sep 22 '06 #1
4 1585
You need to configure IE to print backgrounds, which is turned off by
default.

--
HTH,

Kevin Spencer
Microsoft MVP
Software Composer
http://unclechutney.blogspot.com

A watched clock never boils.

"mark" <ma**@remove.co mwrote in message
news:3r******** *************** *******@giganew s.com...
Ive created a aspx form using tables and flowlayout, I've set the
background colour on certain
rows, which show great in the browser, however when i use print preview
the colours
have dissapeared,
any ideas ?

cheers

mark

Sep 22 '06 #2


"Kevin Spencer" <uc*@ftc.govwro te in message
news:e0******** ******@TK2MSFTN GP02.phx.gbl...
You need to configure IE to print backgrounds, which is turned off by
default.

--
HTH,

Kevin Spencer
Microsoft MVP
Software Composer
http://unclechutney.blogspot.com

A watched clock never boils.
ahh ok, anyway round not doing this ? (itll print backgrounds off on every
page etc)

cheers
mark

Sep 22 '06 #3
ahh ok, anyway round not doing this ? (itll print backgrounds off on every
page etc)
Well, IE is an application, and it is designed to allow the user to
configure certain things according to the user's desires. So, if background
printing is turned off, it is turned off because the user has decided to
leave it turned off. Now, if you had a servant, and you told the servant to
cook dinner, and a stranger came to your house, and told the servant *not*
to cook dinner, and your servant did what the stranger asked instead of what
you told the servant to do, what would you think of the usefulness of your
servant?

Now, if the stranger asked *you* if he could have the servant stop cooking
dinner, and you said "sure," it would not be improper for your servant to
stop cooking dinner, since the servant is *your* servant. So, if you want
users to turn on background printing in their browsers, I would suggest
putting a message in the page that asks them to.

--
HTH,

Kevin Spencer
Microsoft MVP
Software Composer
http://unclechutney.blogspot.com

A watched clock never boils.

"mark" <ma**@remove.co mwrote in message
news:eK******** *************** *******@giganew s.com...
>

"Kevin Spencer" <uc*@ftc.govwro te in message
news:e0******** ******@TK2MSFTN GP02.phx.gbl...
>You need to configure IE to print backgrounds, which is turned off by
default.

--
HTH,

Kevin Spencer
Microsoft MVP
Software Composer
http://unclechutney.blogspot.com

A watched clock never boils.

ahh ok, anyway round not doing this ? (itll print backgrounds off on every
page etc)

cheers
mark

Sep 22 '06 #4
Well, IE is an application, and it is designed to allow the user to
configure certain things according to the user's desires. So, if
background printing is turned off, it is turned off because the user has
decided to leave it turned off. Now, if you had a servant, and you told
the servant to cook dinner, and a stranger came to your house, and told
the servant *not* to cook dinner, and your servant did what the stranger
asked instead of what you told the servant to do, what would you think of
the usefulness of your servant?

Now, if the stranger asked *you* if he could have the servant stop cooking
dinner, and you said "sure," it would not be improper for your servant to
stop cooking dinner, since the servant is *your* servant. So, if you want
users to turn on background printing in their browsers, I would suggest
putting a message in the page that asks them to.

--
nice analogy and i totally agree, however i forgot to mention this is for an
intranet :))

mark
Sep 25 '06 #5

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

Similar topics

1
4569
by: Alistair Birch | last post by:
Hi I want rows of a table to appear in alternating background colours. Having looked around the web I can't find any solution apart from waiting for the next version of CSS, so I tried building one myself, but I need some help to finish it. I use the getAttribute('rowIndex') to return the position of a row within the table and apply modulo 2 to return a 0 or 1 indicating an even or odd row number, from which I apply the alternating...
5
2411
by: Dan Jacobson | last post by:
What's Nielsen talking about in http://www.useit.com/alertbox/20040503.html http://www.useit.com/alertbox/20040510.html Can't a good browser keep track of visited vs. unvisited link colors? Is my site deficient as I have not messed with link colors? Does Nielsen address why all this can't be left up to the browser? Are link colors supposed to be special, like background images, to make a big impression?
5
14361
by: navavil | last post by:
Hi I used some css class in my web page for graphic design (with url), now when I am sending the page to printer all the background images are gone )-: ? 10x
5
47403
by: Jason Chan | last post by:
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?
16
3930
by: J. B. Moreno | last post by:
I read the faq, and it mentions that IE 4 on windows requires setting a printing option to allow background colors to be printed. Things change, life goes on, other browsers come into existence.... So, is there a way in CSS to say "Yeah, print these background colors", without the user having to turn on an option that will then apply to all pages printed? Thanks,
3
2597
by: Tim Marshall | last post by:
I would swear that when I developed in A97, I could change the back colour of a form. However, in Windows XP, on both A97 and A2003, there no longer is a property showing in the format tab for form properties for a back colour. I think the themed control idea is pretty good in that a developer can really go out on a limb if s/he chooses all kinds of fancy background colours for his/her app since colours selection is a very subjective...
3
1490
by: vonclausowitz | last post by:
Hi Everyone, Is it possible to create some code which can automatically update my forms formatting? I have a small database with a form which is periodically changed. When the db is returned to me the form looks completely different. Different fore- and background colors, font types etc... Is there something in code I can use to set the form back to how I normally use it?
10
7722
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, there is nothing !!! How to print such lines colors ? the main purpose of this table is to be
117
18485
by: phil-news-nospam | last post by:
Is there really any advantage to using DIV elements with float style properies, vs. the old method of TABLE and TR and TD? I'm finding that by using DIV, it still involves the same number of elements in the HTML to get everything just right. When you consider the class attribute on the DIV elements, there's not much size savings anymore for using DIV. There are other disadvantages to not using TABLE/TR/TD, such as the lack of ability...
0
8174
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
8336
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
8478
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7164
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...
1
6111
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5565
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
4176
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1786
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1485
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.