如果你看到这个 JSFiddle 演示, http: //jsfiddle.net/4K5Sk/1/你可以看到这个屏幕:
为什么它不以“TEST 1”行开头?
<div class="navbar navbar-fixed-top navbar-inverse" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#">Project name</a>
</div>
<div class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li class="active"><a href="#menu1">menu 1</a></li>
<li><a href="#menu2">menu 2</a></li>
<li><a href="#menu3">menu 3</a></li>
</ul>
</div>
</div>
</div>
<div class="container-fluid">
TEST 1<br />
TEST 2<br />
TEST 3<br />
TEST 4<br />
TEST 5<br />
</div>