【发布时间】:2013-12-21 00:42:34
【问题描述】:
我有一个使用 boostrap 布局的页面。
<body>
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
//All menu stuff occuping all the width of the top.
</div>
//Jumbotron rendering body of views.
<div class="jumbotron">
@RenderBody()
</div>
</body>
jumbotron CSS:
.jumbotron {
height: 100%;
padding-top: 80px;
padding: 40px;
margin-bottom: 0px;
font-size: 15px;
font-weight: 100;
line-height: 2.1428571435;
color: inherit;
}
我有一个带有 Telerik 网格的视图,当它显示在屏幕上时,它适合菜单后面。因为我认为jumbotron正在占用100%。那么,我怎样才能将 jumbotron 放在菜单下方,将它们分开呢?
【问题讨论】:
标签: html css asp.net-mvc twitter-bootstrap