Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/87.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 如何消除Boostrap 3中出现的空白?_Html_Css_Twitter Bootstrap_Twitter Bootstrap 2 - Fatal编程技术网

Html 如何消除Boostrap 3中出现的空白?

Html 如何消除Boostrap 3中出现的空白?,html,css,twitter-bootstrap,twitter-bootstrap-2,Html,Css,Twitter Bootstrap,Twitter Bootstrap 2,HTML: 我正在尝试实现基于网格的布局。我也试过了,但是在网格之后有了空白,创建了一个垂直滚动条。除了网格,我在页面中没有其他内容。。。。请帮忙。 navbar-fixed-top.css有以下css行: body {min-height: 2000px; padding-top: 70px;} 去掉那个最小高度 首先,在Bootstrap 3中,您没有.row流体,只有.row和.container流体-@JoffreyMaheo我改为row,但它保持不变。有截图吗?在最后一行,您用注释/

HTML:

我正在尝试实现基于网格的布局。我也试过了,但是在网格之后有了空白,创建了一个垂直滚动条。除了网格,我在页面中没有其他内容。。。。请帮忙。
navbar-fixed-top.css有以下css行:

body {min-height: 2000px; padding-top: 70px;}
去掉那个最小高度


首先,在Bootstrap 3中,您没有.row流体,只有.row和.container流体-@JoffreyMaheo我改为row,但它保持不变。有截图吗?在最后一行,您用注释/container关闭了div,但从未打开该注释/container。也更正了该注释/container:尝试使用firebug或google开发者工具检查dom,看看问题出在哪里。
body {
margin:0px;
height:0px auto;
}
.body-wrapper
{
margin-bottom:10px;
padding:0px;
background-color:#000;
}
.dashboard-item 
{
margin-top:10px;
margin-bottom:10px;
padding:5px;
min-height:200px;
border:1px solid #CCC;
border-radius:5px;
background-color:#FFF;
box-shadow:inset 0px 0px 20px #CCC;
}
.footer
{
margin:0px;
padding:15px;
bottom:0px;
position:fixed;
width:100%;
width:100%;
height:50px;
color:#000;
background-color:#CCC;
}
body {min-height: 2000px; padding-top: 70px;}