Html 如何消除Boostrap 3中出现的空白?
HTML: 我正在尝试实现基于网格的布局。我也试过了,但是在网格之后有了空白,创建了一个垂直滚动条。除了网格,我在页面中没有其他内容。。。。请帮忙。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,但它保持不变。有截图吗?在最后一行,您用注释/
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;}