页脚空白

时间:2013-07-09 13:30:31

标签: html css blogger

我在my blog

底部有空格这个问题

Screenshot of blank space in footer

我不知道如何修复它。有人能帮助我吗?

Here is the code for the full template,我的页脚CSS如下:

#footer-wrapper {
margin: 0;
padding-top: 0;
padding-right: 0;
padding-bottom: 9px;
padding-left: 0;
font-size: 85%;
color: #666666;
padding:35px 20px;
}

2 个答案:

答案 0 :(得分:3)

您尚未正确安装Google广告,最后一次调用

<script src='http://pagead2.googlesyndication.com/pagead/show_ads.js' type='text/javascript'>
</script>

正在添加一个HTML元素ins,它实际上是一个IFrame,使您的页脚更高155px

enter image description here

你可以用

隐藏它
<style type="text/css">
ins {
    display: none !important;
}
</style>

或者您可以解决Google广告。

答案 1 :(得分:0)

检查是否有效:

#footer-wrapper {
    margin: 0;
    padding-top: 0;
    padding-right: 0;
    padding-left: 0;
    padding-bottom: 0;
    font-size: 85%;
    color: #666666;
}

或更短:

#footer-wrapper {
    margin: 0;
    padding: 0;
    font-size: 85%;
    color: #666666;
    position: absolute;
    bottom: 0;
}
相关问题