Help with gaps between table cells in Firefox.

Discussion in 'HTML & Website Design' started by Potatis, Jul 3, 2006.

  1. #1
    Hello,

    I am building a website, and have run into a small problem with table formatting. IE displays the pictures I have in the tables, just as I want them, with no spaces in between. Firefox displays a small space. I don't know how to remove this space. I have been through the code and set all cellspacings to "0".

    The demo website is here if it helps to see what I am talking about: http://www.potatis-gallery.com/zoeyz/index4.htm

    Also, IE allowed me to set a coloured background for a couple of my cells where I wanted it, but the only way I could do it in Firefox was to have a tiny jpg of the colour I wanted, repeat itself. I often hear complaints about IE, but Firefox is the browser I am having trouble with.
     
    Potatis, Jul 3, 2006 IP
  2. sgtsloth

    sgtsloth Peon

    Messages:
    205
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Put this in your css file
    
    td
    {
    padding:0;
    }
    
    Code (markup):
    Should work. :)
     
    sgtsloth, Jul 3, 2006 IP
  3. Potatis

    Potatis Member

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #3
    It did work, sgtsloth, thankyou so much! :)
     
    Potatis, Jul 3, 2006 IP
  4. sgtsloth

    sgtsloth Peon

    Messages:
    205
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #4
    No problem! ;)
     
    sgtsloth, Jul 3, 2006 IP