Jump to content

Background image changes colors across browsers


Rob in hood

Recommended Posts

I am having a very weird problem with my background image. Its edges are all #080808 (verified in MS Paint and Photoshop). I have set this color in the CSS (see below). When Firefox renders it in Windows it renders the edges of the background image at #0c0c0c. When FF renders it in Mac, it does #0a0a0a. Opera in Mac renders it correctly at #080808. Safari fails. Internet Explorer 8 renders correctly at #080808.

 

What on earth is going on? O_o :/

 

body {
   font-family: Helvetica, Verdana, sans-serif;
   letter-spacing: 1px;
   font-size: 19px;
   background: #080808 url(images/background.jpg) center top no-repeat;
   margin: 0;
   padding: 0;
   height: 853px;
}

Link to comment
Share on other sites

I'm assuming you are saving it in Photoshop using the "Save to web" feature... I'd double check a couple settings in the "save to web" dialog that might cause problems.

 

-- make sure "embed color profile" is unchecked

-- make sure "convert to "sRGB" is unchecked

 

You might also want to look at this article: http://www.viget.com/inspire/the-mysterious-save-for-web-color-shift/

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...