Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Colors appearing differnet in IE, FireFox, Safari?

Reply
Thread Tools

Colors appearing differnet in IE, FireFox, Safari?

 
 
Mark B
Guest
Posts: n/a
 
      02-07-2010
At www.gertes.com, I have a blue background. I also have a gradient blue
that at the bottom that merges smoothly into the blue background color.

It works fine on IE but on Firefox and Safari, the color doesn't merge
smoothly -- it shows a hard blue edge. Anyone know why?

 
Reply With Quote
 
 
 
 
Alexey Smirnov
Guest
Posts: n/a
 
      02-07-2010
On Feb 7, 10:14*pm, "Mark B" <none...@none.com> wrote:
> Atwww.gertes.com, I have a blue background. I also have a gradient blue
> that at the bottom that merges smoothly into the blue background color.
>
> It works fine on IE but on Firefox and Safari, the color doesn't merge
> smoothly -- it shows a hard blue edge. Anyone know why?


The problem here is that IE renders PNG differently as Firefox and
Safari. It looks like PNGs appear darker in IE and that's why you see
dark blue in other browsers. I would suggest either save
page_background.png as GIF and change bgcolor to #013E6D, or use
different CSS for Firefox and other browsers.
 
Reply With Quote
 
 
 
 
Mark B
Guest
Posts: n/a
 
      02-07-2010
Thanks. Any downside to GIF here? Loss of clarity?


"Alexey Smirnov" <> wrote in message
news:31d30328-c17a-4458-a93d-...
On Feb 7, 10:14 pm, "Mark B" <none...@none.com> wrote:
> Atwww.gertes.com, I have a blue background. I also have a gradient blue
> that at the bottom that merges smoothly into the blue background color.
>
> It works fine on IE but on Firefox and Safari, the color doesn't merge
> smoothly -- it shows a hard blue edge. Anyone know why?


The problem here is that IE renders PNG differently as Firefox and
Safari. It looks like PNGs appear darker in IE and that's why you see
dark blue in other browsers. I would suggest either save
page_background.png as GIF and change bgcolor to #013E6D, or use
different CSS for Firefox and other browsers.

 
Reply With Quote
 
Scott M.
Guest
Posts: n/a
 
      02-08-2010
Just apply the IE .PNG fix for IE to any page that you wish to use .PNG
files on:

http://homepage.ntlworld.com/bobosola/

-Scott


"Alexey Smirnov" <> wrote in message
news:31d30328-c17a-4458-a93d-...
On Feb 7, 10:14 pm, "Mark B" <none...@none.com> wrote:
> Atwww.gertes.com, I have a blue background. I also have a gradient blue
> that at the bottom that merges smoothly into the blue background color.
>
> It works fine on IE but on Firefox and Safari, the color doesn't merge
> smoothly -- it shows a hard blue edge. Anyone know why?


The problem here is that IE renders PNG differently as Firefox and
Safari. It looks like PNGs appear darker in IE and that's why you see
dark blue in other browsers. I would suggest either save
page_background.png as GIF and change bgcolor to #013E6D, or use
different CSS for Firefox and other browsers.


 
Reply With Quote
 
Mark B
Guest
Posts: n/a
 
      02-08-2010
Thanks. All changed and tested OK. I ended up using #034B7A.

I converted the PNG to GIF with 192 colors using
http://tools.dynamicdrive.com/imageoptimizer/index.php

I only have IE7 here. If someone has IE8 and wants to let me know if the
gradient merge doesn't appear smooth on
http://www.gertes.com/pages/about/what_is/default.aspx I'd appreciate it.


"Alexey Smirnov" <> wrote in message
news:31d30328-c17a-4458-a93d-...
On Feb 7, 10:14 pm, "Mark B" <none...@none.com> wrote:
> Atwww.gertes.com, I have a blue background. I also have a gradient blue
> that at the bottom that merges smoothly into the blue background color.
>
> It works fine on IE but on Firefox and Safari, the color doesn't merge
> smoothly -- it shows a hard blue edge. Anyone know why?


The problem here is that IE renders PNG differently as Firefox and
Safari. It looks like PNGs appear darker in IE and that's why you see
dark blue in other browsers. I would suggest either save
page_background.png as GIF and change bgcolor to #013E6D, or use
different CSS for Firefox and other browsers.

 
Reply With Quote
 
Alexey Smirnov
Guest
Posts: n/a
 
      02-08-2010
On Feb 7, 11:09*pm, "Mark B" <none...@none.com> wrote:
> Thanks. Any downside to GIF here? Loss of clarity?
>


In general, gif result with less quality. In your case, it's not a
high quality picture, so I think gif should be okay. I tested it
myself and it looks ok to me in both browsers. Note, I mentioned other
color. This is because gif will be not that dark as png in IE.
 
Reply With Quote
 
Alexey Smirnov
Guest
Posts: n/a
 
      02-08-2010
On Feb 8, 2:36*am, "Mark B" <none...@none.com> wrote:
> Thanks. All changed and tested OK. I ended up using #034B7A.
>
> I converted the PNG to GIF with 192 colors usinghttp://tools.dynamicdrive..com/imageoptimizer/index.php
>
> I only have IE7 here. If someone has IE8 and wants to let me know if the
> gradient merge doesn't appear smooth onhttp://www.gertes.com/pages/about/what_is/default.aspxI'd appreciate it.
>
> "Alexey Smirnov" <alexey.smir...@gmail.com> wrote in message
>
> news:31d30328-c17a-4458-a93d-...
> On Feb 7, 10:14 pm, "Mark B" <none...@none.com> wrote:
>
> > Atwww.gertes.com, I have a blue background. I also have a gradient blue
> > that at the bottom that merges smoothly into the blue background color.

>
> > It works fine on IE but on Firefox and Safari, the color doesn't merge
> > smoothly -- it shows a hard blue edge. Anyone know why?

>
> The problem here is that IE renders PNG differently as Firefox and
> Safari. It looks like PNGs appear darker in IE and that's why you see
> dark blue in other browsers. I would suggest either save
> page_background.png as GIF and change bgcolor to #013E6D, or use
> different CSS for Firefox and other browsers.


It's working well now! The only thing I can tell is that transition
inside picture is not smooth. Maybe you can play with it a little bit
and try to save with more colors if it's critical for you. In other
case, the problem has been solved and I see no bottom "border" as it
was yesterday.

IE8 - ok
Safari4 - ok
FF3.5 - ok
Chrom4 - ok
 
Reply With Quote
 
Alexey Smirnov
Guest
Posts: n/a
 
      02-08-2010
On Feb 8, 1:50*am, "Scott M." <s-...@nospam.nospam> wrote:
> Just apply the IE .PNG fix for IE to any page that you wish to use .PNG
> files on:
>
> http://homepage.ntlworld.com/bobosola/
>
> -Scott
>
> "Alexey Smirnov" <alexey.smir...@gmail.com> wrote in message
>
> news:31d30328-c17a-4458-a93d-...
> On Feb 7, 10:14 pm, "Mark B" <none...@none.com> wrote:
>
> > Atwww.gertes.com, I have a blue background. I also have a gradient blue
> > that at the bottom that merges smoothly into the blue background color.

>
> > It works fine on IE but on Firefox and Safari, the color doesn't merge
> > smoothly -- it shows a hard blue edge. Anyone know why?

>
> The problem here is that IE renders PNG differently as Firefox and
> Safari. It looks like PNGs appear darker in IE and that's why you see
> dark blue in other browsers. I would suggest either save
> page_background.png as GIF and change bgcolor to #013E6D, or use
> different CSS for Firefox and other browsers.


Scott,

the link says it's all about background transparency for IE v.5.5 and
6 only, which is not the case here. The problem here was that IE (up
to v. shows PNGs darker as in FF or Safari. There was no
transparency used.
 
Reply With Quote
 
Mark B
Guest
Posts: n/a
 
      02-08-2010
Yes thanks very much again.

I tried with 256 color gif and also 192 color. I decided on 192 as 256 had
one not-so-smooth area but 192 had a couple of such areas and as such looked
more uniform. Anyway I think it will be OK.

I got the new back color by opening the gif in MSPaint, Zooming to 800% then
color-picking the bottom pixel line.

>>


It's working well now! The only thing I can tell is that transition
inside picture is not smooth. Maybe you can play with it a little bit
and try to save with more colors if it's critical for you. In other
case, the problem has been solved and I see no bottom "border" as it
was yesterday.

IE8 - ok
Safari4 - ok
FF3.5 - ok
Chrom4 - ok

 
Reply With Quote
 
Alexey Smirnov
Guest
Posts: n/a
 
      02-08-2010
On Feb 8, 9:37*am, "Mark B" <none...@none.com> wrote:
> Yes thanks very much again.
>
> I tried with 256 color gif and also 192 color. I decided on 192 as 256 had
> one not-so-smooth area but 192 had a couple of such areas and as such looked
> more uniform. Anyway I think it will be OK.
>
> I got the new back color by opening the gif in MSPaint, Zooming to 800% then
> color-picking the bottom pixel line.
>
>
>
> It's working well now! The only thing I can tell is that transition
> inside picture is not smooth. Maybe you can play with it a little bit
> and try to save with more colors if it's critical for you. In other
> case, the problem has been solved and I see no bottom "border" as it
> was yesterday.
>
> IE8 - ok
> Safari4 - ok
> FF3.5 - ok
> Chrom4 - ok


Glad, that it works now
Cheers!
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
check differnet pattern match then perform an action mike Java 3 09-18-2008 07:06 AM
can I import the module twice (under differnet names) alf Python 3 11-02-2006 12:53 PM
Cannot ping at differnet times of the day on my wireless network =?Utf-8?B?UmVjb24=?= Wireless Networking 4 01-12-2006 10:03 PM
Two pointers to the same obejct, two differnet values... =?ISO-8859-1?Q?Mattias_Br=E4ndstr=F6m?= C++ 3 12-18-2003 06:43 PM
.net ddls'' in differnet directories? Darren Clark ASP .Net 3 09-03-2003 07:37 PM



Advertisments