Grow your CSS skills. Land your dream job.

White Gap at Top of Page – CSS Looks Fine

  • # March 21, 2013 at 11:46 pm

    So this is a bit of a head scratcher. I’m in the very early stages of putting together a new site, but I noticed a 15px white gap at the top of my pages.

    I took out all of the extra stuff to make it easier to narrow down, but I still can’t seem to find the issue. Here is a demo:
    http://theadgarage.com/jointswp/

    Any help would be appreciated.

    # March 22, 2013 at 12:07 am

    If you completely remove `normalize.css` and add this to your stylesheet, it works

    * {
    margin: 0;
    padding: 0;
    }

    # March 22, 2013 at 12:58 am

    Got it working by adding

    overflow: auto;

    to #home.

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

You must be logged in to reply to this topic.

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