CSS Programming / Firefox issues

Discussion in 'Digital Discussion & Q&A' started by Je-C, Jul 6, 2006.

  1. Je-C

    Je-C TPF Noob!

    Joined:
    Sep 26, 2004
    Messages:
    189
    Likes Received:
    0
    Location:
    Beale AFB, CA, and Salem, Oregon
    Hopefully a few people know some HTML / CSS programming. Basically my gallery shows fine on IE but not Firefox. Firefox doesn't border my clickable images but makes a small box the appropriate width but at a fixed height no matter the height of the thumbnail. Here's the index: http://je-c.com/gallery/longsinceforgotten/index.html

    If you click on an image and notice that the thumbnail on the left is bordered correctly, that's because there isn't a link there and I bordered the thumbnail individually with the coding.

    Hopefully this all makes sense. If not, just open a version of the link in both IE and FF and you'll see what I mean. Thanks ahead of time for any help you guys can provide! BTW, I'm coding raw (no programs or w/e).
     
  2. markc

    markc TPF Noob!

    Joined:
    Mar 8, 2004
    Messages:
    4,237
    Likes Received:
    6
    Location:
    Rochester, NY Velocity: Unknown
    Can others edit my Photos:
    Photos NOT OK to edit
    You might want to try appling the border size to the image rather than the link tag. Leave the color on the A tag so that it will change, but since the border is going around the image itself, I think it should be getting the size info.

    It's been a while, so no guarantees.
     
  3. NeoDude

    NeoDude TPF Noob!

    Joined:
    Aug 21, 2005
    Messages:
    34
    Likes Received:
    1
    Location:
    Sunny Scotland
    Does the same in Opera.

    Try changing...

    border-width:2px 2px 2px 2px;
    margin:0px;

    to...

    border-width: 2px;
    margin: auto;

    (Notice the spaces after the ":")

    Also have a look HERE to address some errors in your HTML.
     

Share This Page