Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Oct 2004
    Location
    Tucson, AZ
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Images and browser cross-compatibility

    Hello,

    I'm trying to match up the color of an image with the table background. I used an eyedropper tool to get RGB values from the image (a jpeg) and plugged 'em into the table using CSS. However, the colors don't align correctly. They look fine in IE, but in Firefox the colors are off. What am I missing here? Thanks for the help.


    If you want to test it yourself, make a rectangle using the following color, and then embedded it in a table along with this CSS code. Load the page up in IE and Firefox and see what you get.

    TABLE {
    background-color: rgb(247,243,239)
    }

  • #2
    Senior Coder
    Join Date
    Feb 2003
    Location
    Ontario, Canada
    Posts
    1,223
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Firstly, try it with the hex value instead of RGB: #F7F3EF.

    Secondly, what image type are you using? If you're using JPEG or GIF (which I suspect you are make sure that this colour is in the index (in the case of GIF) and that you're saving with 100% quality if it's a JPEG.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •