473,406 Members | 2,217 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,406 software developers and data experts.

bgcolor attribute not consistent between PCs

Hi

I've developed a simple ASP.NET page using Visual Studio 2003. On the page
are a number of tables which I have shaded the background of using the
bgcolor table attribute/property. My HTML code to do this is shown below:

TABLE id="tblAddress" style="BORDER-RIGHT: navy 0.75pt solid; BORDER-TOP:
navy 0.75pt solid; Z-INDEX: 103; LEFT: 8px; BORDER-LEFT: navy 0.75pt solid;
BORDER-BOTTOM: navy 0.75pt solid; POSITION: absolute; TOP: 16px"
borderColor="navy" cellSpacing="0" cellPadding="3" width="75%" align="left"
bgColor="#ccffcc" border="0"

On my development PC the bgcolor="#ccffcc" property produces a very light
blue. However, on my customers PC it produces a lime green.

I thought using hex colour codes with the bgcolor property would produce
absolute colours that were not susceptible to any change on another PC.
Changing the Windows theme on the clients PC doesn't seem to have any effect
on the colour of my tables.

Can someone give me some ideas as to why the colours I've selected are not
reliably produced on a client PC and tell me how I can ensure that any
colours I select will be displayed. Thanks.

Peter,
Nov 18 '05 #1
3 1244
they are almost similar to a great extent (could differ slightly between
browsers)
but it could also vary on monitor's color settings etc.
since anything by default is over ridden by manual settings on the
monitor.... they just might look different.
the best way to confirm this would be to create a small image of that color
and put it in as a table background or something like that
and put it along side with the rest of your code....
see how they look.

--
Regards,
HD
Once a Geek.... Always a Geek
"Peter Merwood" <peter_m@*antispam*circle-consulting.co.nz> wrote in message
news:ue**************@TK2MSFTNGP09.phx.gbl...
Hi

I've developed a simple ASP.NET page using Visual Studio 2003. On the
page
are a number of tables which I have shaded the background of using the
bgcolor table attribute/property. My HTML code to do this is shown below:

TABLE id="tblAddress" style="BORDER-RIGHT: navy 0.75pt solid; BORDER-TOP:
navy 0.75pt solid; Z-INDEX: 103; LEFT: 8px; BORDER-LEFT: navy 0.75pt
solid;
BORDER-BOTTOM: navy 0.75pt solid; POSITION: absolute; TOP: 16px"
borderColor="navy" cellSpacing="0" cellPadding="3" width="75%"
align="left"
bgColor="#ccffcc" border="0"

On my development PC the bgcolor="#ccffcc" property produces a very light
blue. However, on my customers PC it produces a lime green.

I thought using hex colour codes with the bgcolor property would produce
absolute colours that were not susceptible to any change on another PC.
Changing the Windows theme on the clients PC doesn't seem to have any
effect
on the colour of my tables.

Can someone give me some ideas as to why the colours I've selected are not
reliably produced on a client PC and tell me how I can ensure that any
colours I select will be displayed. Thanks.

Peter,

Nov 18 '05 #2
Hi

Thanks for your prompt response. I'm a bit sceptical about the monitor
colour settings. The client has about 60 PCs (admittedly with the same
model of monitor) and all of them show lime green when they should shoul
light blue.

I'll give the image thing you've suggested a try.

Peter,
"Hermit Dave" <he************@CAPS.AND.DOTS.hotmail.com> wrote in message
news:uS**************@TK2MSFTNGP12.phx.gbl...
they are almost similar to a great extent (could differ slightly between
browsers)
but it could also vary on monitor's color settings etc.
since anything by default is over ridden by manual settings on the
monitor.... they just might look different.
the best way to confirm this would be to create a small image of that color and put it in as a table background or something like that
and put it along side with the rest of your code....
see how they look.

--
Regards,
HD
Once a Geek.... Always a Geek
"Peter Merwood" <peter_m@*antispam*circle-consulting.co.nz> wrote in message news:ue**************@TK2MSFTNGP09.phx.gbl...
Hi

I've developed a simple ASP.NET page using Visual Studio 2003. On the
page
are a number of tables which I have shaded the background of using the
bgcolor table attribute/property. My HTML code to do this is shown below:
TABLE id="tblAddress" style="BORDER-RIGHT: navy 0.75pt solid; BORDER-TOP: navy 0.75pt solid; Z-INDEX: 103; LEFT: 8px; BORDER-LEFT: navy 0.75pt
solid;
BORDER-BOTTOM: navy 0.75pt solid; POSITION: absolute; TOP: 16px"
borderColor="navy" cellSpacing="0" cellPadding="3" width="75%"
align="left"
bgColor="#ccffcc" border="0"

On my development PC the bgcolor="#ccffcc" property produces a very light blue. However, on my customers PC it produces a lime green.

I thought using hex colour codes with the bgcolor property would produce
absolute colours that were not susceptible to any change on another PC.
Changing the Windows theme on the clients PC doesn't seem to have any
effect
on the colour of my tables.

Can someone give me some ideas as to why the colours I've selected are not reliably produced on a client PC and tell me how I can ensure that any
colours I select will be displayed. Thanks.

Peter,


Nov 18 '05 #3
good luck with that and let me know how it goes

--
Regards,
HD
Once a Geek.... Always a Geek
"Peter Merwood" <peter_m@*antispam*circle-consulting.co.nz> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
Hi

Thanks for your prompt response. I'm a bit sceptical about the monitor
colour settings. The client has about 60 PCs (admittedly with the same
model of monitor) and all of them show lime green when they should shoul
light blue.

I'll give the image thing you've suggested a try.

Peter,
"Hermit Dave" <he************@CAPS.AND.DOTS.hotmail.com> wrote in message
news:uS**************@TK2MSFTNGP12.phx.gbl...
they are almost similar to a great extent (could differ slightly between
browsers)
but it could also vary on monitor's color settings etc.
since anything by default is over ridden by manual settings on the
monitor.... they just might look different.
the best way to confirm this would be to create a small image of that

color
and put it in as a table background or something like that
and put it along side with the rest of your code....
see how they look.

--
Regards,
HD
Once a Geek.... Always a Geek
"Peter Merwood" <peter_m@*antispam*circle-consulting.co.nz> wrote in

message
news:ue**************@TK2MSFTNGP09.phx.gbl...
> Hi
>
> I've developed a simple ASP.NET page using Visual Studio 2003. On the
> page
> are a number of tables which I have shaded the background of using the
> bgcolor table attribute/property. My HTML code to do this is shown below: >
> TABLE id="tblAddress" style="BORDER-RIGHT: navy 0.75pt solid; BORDER-TOP: > navy 0.75pt solid; Z-INDEX: 103; LEFT: 8px; BORDER-LEFT: navy 0.75pt
> solid;
> BORDER-BOTTOM: navy 0.75pt solid; POSITION: absolute; TOP: 16px"
> borderColor="navy" cellSpacing="0" cellPadding="3" width="75%"
> align="left"
> bgColor="#ccffcc" border="0"
>
> On my development PC the bgcolor="#ccffcc" property produces a very light > blue. However, on my customers PC it produces a lime green.
>
> I thought using hex colour codes with the bgcolor property would
> produce
> absolute colours that were not susceptible to any change on another PC.
> Changing the Windows theme on the clients PC doesn't seem to have any
> effect
> on the colour of my tables.
>
> Can someone give me some ideas as to why the colours I've selected are not > reliably produced on a client PC and tell me how I can ensure that any
> colours I select will be displayed. Thanks.
>
> Peter,
>
>



Nov 18 '05 #4

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

Similar topics

7
by: svilen | last post by:
hello again. i'm now into using python instead of another language(s) for describing structures of data, including names, structure, type-checks, conversions, value-validations, metadata etc....
4
by: A.S. | last post by:
Hi, I have the following simple code: <TABLE><TR> <TD BGCOLOR="#FFFFFF" ONCLICK="myform.color.value = this.bgcolor">hello</TD> </TR></TABLE> <FORM ACTION="hello.cgi" NAME="myform"...
5
by: kj | last post by:
Is there a way to dynamically (e.g. upon onClick) change the bgColor attribute of a table cell? I tried cell.setAttribute("bgColor", someColor), where someColor was a string of the form "#RRGGBB",...
6
by: Tim Johnson | last post by:
Hello All: Using javascript to dynamically add row elements to a table. as in ..... row.setAttribute("bgcolor",rowColor); // or cell.setAttribute("bgcolor",rowColor); Using firefox or...
15
by: @sh | last post by:
Trying to do this, but its not working...?! My aim being to change the bgcolor of the cell upon which the user has rolled over, I'll then replicate this as an OnMouseOut to change it back. ...
3
by: Cliff Cavin | last post by:
How do I programatically change the background color of an aspx page in code? Is there something like Page.BgColor = "#FFFFFF" ? For that matter, how do I access any of the DOCUMENT...
12
by: GaryDean | last post by:
In the original post I failed so indicate that I am using framework 1.1....... I need to be able to change the background color of a page from code. I found an answer to this question in...
5
by: Don Lancaster | last post by:
I am trying to change a group of background colors by calculating their names in a loop . Names are cfh13, cfh15, cfh17, etc... Unlooped code like cfh17.bgColor="#CCFFFF" ; works just fine....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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...
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.