[Solved]Cross browser colour?

HTML, CSS and anything else that deals with client side capabilities.

Moderator: General Moderators

Post Reply
aravona
Forum Contributor
Posts: 347
Joined: Sat Jun 13, 2009 3:59 pm
Location: England

[Solved]Cross browser colour?

Post by aravona »

If you look at this site: mysite you can see that in IE the background doesnt match the colour of the logo and yet in FF it matches fine?

I used photoshop to assertain the colour of the background and put that in my css file for the background of the body yet for some reason, its not really working right in IE.

Any ideas why this is? I've never had this problem before with background colours.
Last edited by aravona on Mon Mar 15, 2010 3:39 am, edited 1 time in total.
User avatar
Eran
DevNet Master
Posts: 3549
Joined: Fri Jan 18, 2008 12:36 am
Location: Israel, ME

Re: Cross browser colour?

Post by Eran »

It's a known issue with PNG and IE, which have a gamma offset - http://morris-photographics.com/photosh ... gamma.html

As an aside, that is a really huge image for what it shows. You could probably crop about 60% from it, not to mention it doesn't really contain graphics or special fonts (looks like Arial) and can be rendered using just HTML / CSS.
aravona
Forum Contributor
Posts: 347
Joined: Sat Jun 13, 2009 3:59 pm
Location: England

Re: Cross browser colour?

Post by aravona »

Unfortunately I've done what I've been told to do. Thanks for the info about PNG's I didnt know that before - will switch it to a jpg. (default pic editor is fireworks)

Can't argue with the boss, I'd do it how you said personally. One page sites dont need to be that clever but I've got a set of specs nonetheless.

Cheers for the info mate.
petlura
Forum Newbie
Posts: 1
Joined: Fri Mar 12, 2010 11:10 am

Re: Cross browser colour?

Post by petlura »

I advise you, if you have any questions with color, then install it directly to the uproar. Learn the color code can be here - Color codes in HTML.
User avatar
kaszu
Forum Regular
Posts: 749
Joined: Wed Jul 19, 2006 7:29 am

Re: Cross browser colour?

Post by kaszu »

You can also use http://entropymine.com/jason/tweakpng/ to remove "GAMMA" from PNG images.
aravona
Forum Contributor
Posts: 347
Joined: Sat Jun 13, 2009 3:59 pm
Location: England

Re: Cross browser colour?

Post by aravona »

Thanks for the link Kaszu I'll definately be reading that.

As for the colour codes I know them already (10+ years of html) But never had an issue with gamma before. But then I don't normally do something so simple as a single colour background.

Thanks guys, completely resolved.
Post Reply