CSS background problem

Discussion in 'Web Design and Development' started by John444, Aug 22, 2011.

  1. John444 macrumors member

    Feb 10, 2011
    I want an image that I made in photoshop to be the background for my website. I has a cool design at the top, then a solid colour for the rest of it. Now the image is not that big, so I put a background colour (the same colour code as the solid part of the image). For some reason it still shows the outline of the background image (it seems to be darker than the background colour even though they are the same colour). I find this really weird and not making sense!

    Any ideas how I could fix this problem?
  2. designguy79 macrumors 6502

    Sep 24, 2009
    Try using a "color picker" application (I use the free "Pixel Tracker") and see what hexadecimal value it picks from your graphic. My guess is that when you saved it, the color profile changed so the color you may think that it is in PhotoShop (assuming you are using that...) is not what the browser displays it in.
  3. John444 thread starter macrumors member

    Feb 10, 2011
    Thanks, it worked great! You just saved me a ton of time experimenting with hexadecimals

Share This Page