• Resolved bodhidude

    (@bodhidude)


    Hey there
    Custom WP theme, got a footer section which contains a table being used to distribute the contents across. If you look at the image on the left side of the footer there is a small border around it. I need the image to be flush against the side of the footer div with no space. I’ve tried everything I can think of, setting padding and margin to 0, using a table border of 0 etc, can anyone tell me where this space is coming from?
    This is the site: https://www.greatlakesnaturalmedicine.com/wp/
    thnx

Viewing 4 replies - 1 through 4 (of 4 total)
  • esmi

    (@esmi)

    Try using floated divs instead of a table.

    hedronist

    (@hedronist)

    If you are going to use tables for layout, get in the habit of setting both the cellpadding and the cellspacing to 0. The table in your div#footer is missing cellspacing="0".

    How did I find this? Firefox + Firebug + about 16 years doing websites. In Firebug you can click on the Select Element icon, then select what’s interesting. When I saw the missing cellspacing I got suspicious. I selected the table line and clicked Edit. As soon as I finished typing cellspacing="0" the border disappeared.

    Thread Starter bodhidude

    (@bodhidude)

    yeah thanks still trying to break my table habit

    Thread Starter bodhidude

    (@bodhidude)

    thanks Hedronist

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘can't remove space around table in footer’ is closed to new replies.