我正在尝试将导航栏向右对齐。当我使用 .pull-right 类时,它会将导航栏向右推太多:“脱离网格”。
我究竟做错了什么?
代码:
<div class="row">
<div class="span3 top_logo"><img src="images/logo_svart.png" width="177" height="60" alt="BETA Team Performance" /></div>
<div class="span9">
<div class="navbar navbar-static-top">
<div class="navbar-inner">
<div class="container">
<button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"><strong>MENY <i class="icon-chevron-down icon-white"></i></strong>
</button>
<div class="nav-collapse collapse">
<ul class="nav pull-right">
<li class="active"><a href="#">Start</a></li>
...
</ul>
</div>
</div>
</div>
</div>
</div>
</div>