开发者

Unknown margin being added to a footer in IE6 + 7

开发者 https://www.devze.com 2022-12-24 03:00 出处:网络
So yeah, like I said, 开发者_JS百科I\'ve spent a few hours trying to fix this bug in the footer that add\'s an extra 20-30px on to the bottom of the page in IE6 and 7. I\'ve currently set all bottom m

So yeah, like I said, 开发者_JS百科I've spent a few hours trying to fix this bug in the footer that add's an extra 20-30px on to the bottom of the page in IE6 and 7. I've currently set all bottom margins to 0 so as to find what's causing it, I then scoured ie developer tools but came up empty.

Here's the homepage design hosted on my web design playground - Link

Can anyone see the remedy?


I see:

/** FOOTER **/
#footer {
    margin: 40px 0 0px 0;
    padding: 30px 0 0 0;
    background: url(images/footer.png) no-repeat top center;
    color: #404141;
    font-weight: bold;
    font-size: 11px;
}

Try changing the margin and padding to 0.

0

精彩评论

暂无评论...
验证码 换一张
取 消