FF not displaying color correctly?

Discussion in 'HTML & Website Design' started by SonicReducer, May 10, 2006.

  1. #1
    This is a very strange one. I am trying to match the color of an image's border to the backbround. I have the exact hex code for both colors, and in IE everything is seemless, but in FF you can see a line. It's like Firefox is not displaying the colors correctly. Has anyone encountered this before?
     
    SonicReducer, May 10, 2006 IP
  2. naturaldesigns

    naturaldesigns Member

    Messages:
    57
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    43
    #2
    I havent seen that before...Could you maybe give us a link?

    greets
     
    naturaldesigns, May 10, 2006 IP
  3. Magnus

    Magnus Peon

    Messages:
    164
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Magnus, May 10, 2006 IP
  4. Trisha

    Trisha Active Member

    Messages:
    428
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    88
    #4
    I've got this problem with my website. The home page should show very pale green and almost invisible borders round the table cells. It works fine in IE and AOL but in Firefox or Opera I get a grey border. Also the horizontal lines should be in dark green and these are OK in IE and AOL but they're grey in Firefox and Opera.
     
    Trisha, Dec 14, 2006 IP
  5. Trisha

    Trisha Active Member

    Messages:
    428
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    88
    #5
    Got it. I don't use table borders much and of course the bordercolor isn't supported by Opera and Firefox as it isn't true HTML. I had to write a bit of code for the stylesheet.
    The first part specifies the table border:

    TABLE.home {border:1px solid #DFFFDF}

    (The HTML should read <class="home">)

    The second part specifies the borders of the individual cells.
    TABLE.home td {border:1px solid #DFFFDF}

    This fixed it for me in FF and Opera. The horizontal lines still come out the wrong color in Opera so I'll work on a fix for that when I've got time.
     
    Trisha, Dec 14, 2006 IP