I'm developing a website from the ground up and there seems to be an extra twenty (or so) pixels that are displaying at the very bottom of the webpage. Instead of ending at the last element, the page continues and shows the body background. I've tried using Firebug and have fiddled with about every element in the css file, but can't find what is causing the excess pixels to show.

Any help on figuring this out is very much appreciated.

Screenshot of Problem:

help!

有帮助吗?

解决方案

its coming from here:

.main-wrap {
    margin-bottom: 20px;
}

其他提示

it comes from main-wrap class style:

.main-wrap {
    margin-bottom: 20px;
}

remove it and you're fine :)

By the way, it's referenced here:

<div class="main-wrap row">




        <script type="text/javascript" src="//cdn.sublimevideo.net/js/goqhe4ff.js"></script>
            </div>
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top