PDA

View Full Version : Website Colours


sladmin
04-05-2007, 02:49 PM
Hi guys,

Got a bit of a problem with colours at the mo. I keep getting the wrong colours. To see what I mean go to this (http://silverlinehosting.co.uk/dmm)webpage in both FireFox and IE7 and you'll see what I mean.

Can anyone help me out here because IE7 drives me nuts yet I have to build sites that are compatible with most browsers.

Go FIREFOX that's what I say!! :D

Thanks in advance.

Nick Irvine
04-05-2007, 06:41 PM
Oooh yeah a big difference. Looks much much nicer in FF. Although I prefer the nav bar in ie.

Maybe you could make the mainbackground one long thin image rather than just one background image at the bottom and black for the top half (i guess thats what you've done) That may solve the main background problem

sladmin
04-05-2007, 07:12 PM
Thanks for the reply Nick, Problem is if I create this image then what happens if the page become to long?

I just can't understand why two browsers display colour differently when they have exactly the same value. Why can't they use the same colours? :glare:

Ben Collier
04-05-2007, 07:37 PM
I just can't understand why two browsers display colour differently when they have exactly the same value. Why can't they use the same colours? :glare:

Are you using web palette colours!!!???

or color...

Ben

sladmin
04-05-2007, 07:45 PM
The grey is a web safe colour; code: #333333. I always seem to get this problem in IE. Also the image at the bottom is a PNG, not sure whether this should be a different format? I always thought PNG was the best type to use for the web.

jim
04-05-2007, 08:39 PM
Hmmm, your background image, are you displaying a different height to the 'actual' image height by any chance. That aside the 'grey' is much darker in ff and so blends the bg image better.

Apart from using a different colour combination I have no idea how you solve it, but you have my commiserations.

I've always used jpegs or gifs because of the size difference and it's hard to see a difference anyway on screen.

Just my 2c

Jim

delie
04-05-2007, 10:32 PM
Without delving too deep, a quick fix would be to use a 1x1 pixel image of the same colour & image format as a repeating background image, instead of the background colour. If this doesn't fix it I'd guess there's probably something else going on with the syling somewhere :)

Andrew Taylor
05-05-2007, 12:38 AM
You have two different references to the background image which can't help:

<style type="text/css">
<!--
body {
background-repeat: repeat-x;
}
-->
</style>

body {
margin-left: 0px;
margin-right: 0px;
margin-bottom: 0px;
background-color: #333333;
margin-top: 0px;
background-image: url();
background-repeat: repeat;
}

sladmin
05-05-2007, 01:13 AM
Hi,

Thanks for all your help but I've fixed it now. Funny thing is the fix I used has happened before. It seems that IE wants to display PNG's different to FireFox. What I've done is changed the image to a GIF and now all is fine. Isn't that odd!? :blink:

Nick Irvine
05-05-2007, 09:25 AM
That is odd about the png, that must be an ie 7 problem cos I haven't noticed it in the past.

Ben Collier
05-05-2007, 10:07 AM
Well IE6 can't handle transparent PNGs I know that! If anything alot of issues are fixed in IE7 with PNG!!

Ben

sladmin
05-05-2007, 12:05 PM
Well maybe it's the Photoshop settings I currently have at the mo but I know it fixed it lol

delie
05-05-2007, 12:30 PM
One thing to check, make sure you're using SRGB in PhotoShop, because using AdobeRGB can result in desaturated images when displayed on websites.

siphilp
06-05-2007, 02:22 PM
Just from a usability angle if you turn off css then you can't see the text. see attachment. (hope it helps)

I usually try to stay away from dark themes but I like the top nav. Very nice :)