Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/89.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/40.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html Bootstrap3页脚下方的空白_Html_Css_Twitter Bootstrap_Whitespace_Footer - Fatal编程技术网

Html Bootstrap3页脚下方的空白

Html Bootstrap3页脚下方的空白,html,css,twitter-bootstrap,whitespace,footer,Html,Css,Twitter Bootstrap,Whitespace,Footer,您可以清楚地看到页脚后面有一个空格,它似乎等于body标记的背景色 我怎样才能摆脱它 多谢各位 编辑 好的,到目前为止提供的解决方案已经完成了工作,但是。只有一个块和下面的空白,无法了解导致此问题的原因。更改您的主css文件并添加这些更改 .footer-bottom { margin-right: auto; margin-left: auto; padding-left: 0; padding-right: 0; background-color: #

您可以清楚地看到页脚后面有一个空格,它似乎等于body标记的背景色

我怎样才能摆脱它

多谢各位

编辑


好的,到目前为止提供的解决方案已经完成了工作,但是。只有一个块和下面的空白,无法了解导致此问题的原因。

更改您的主css文件并添加这些更改

.footer-bottom {
    margin-right: auto;
    margin-left: auto;
    padding-left: 0;
    padding-right: 0;
    background-color: #6ab3ac;
    line-height: 50px;
    color: #fff;
}

更改主css文件并添加这些更改

.footer-bottom {
    margin-right: auto;
    margin-left: auto;
    padding-left: 0;
    padding-right: 0;
    background-color: #6ab3ac;
    line-height: 50px;
    color: #fff;
}
像这样:

.footer-bottom {
        margin-right: auto;
        margin-left: auto;
        padding-left: 0;
        padding-right: 0;
        background-color: #6ab3ac;
        height: 100%;
        line-height: 50px;
        color: #fff;
    }
像这样:

.footer-bottom {
        margin-right: auto;
        margin-left: auto;
        padding-left: 0;
        padding-right: 0;
        background-color: #6ab3ac;
        height: 100%;
        line-height: 50px;
        color: #fff;
    }