Grow your CSS skills. Land your dream job.

Randomly adding space to top/bottom of class

  • # June 25, 2009 at 7:52 am

    Just about to launch a new website but there seems to be a problem with it.

    Sometimes when you go to a page that hasn’t been loaded before it adds space above and below the "main-table" class.
    But then when you refresh the page this disappears.

    You should come across it if you start browsing the Products/Trailers. Will add the space above the logo and finance available button, and above the copyright statement at the bottom.
    So basically adds the space to top/bottom of the "main-table" class.

    It only seems to happen in IE. Haven’t come across it in Firefox.
    I am using IE8 but it also happens with the compatibility view on.

    If anyone has any idea what the problem could be that would be greatly appreciated!

    Here is the link

    Also here’s the main-table css class:

    Code:
    .main-table {
    width:960px; /* copy width to header, main and footer */
    margin-left:auto;
    margin-right:auto;
    margin-bottom:0px;
    margin-top:0px;
    display:block;
    float:none;
    }
    # July 23, 2009 at 5:36 am

    I can’t see what your problem is – could you perhaps provide a screenshot of the problem?

    # July 23, 2009 at 6:44 am

    take a screenshot of both please, and show us what the problem is by highlighting it….

    I cant see a major problem

    # July 23, 2009 at 6:57 am

    As the post is almost a month old I’m guessing he probably solved it by now. :D

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".