2014-01-10 122 views
1

我似乎無法找到問題,爲什麼我的導航欄不能拉伸到全寬。由於某些未知的原因,角落是圓的而不是直的。 我也有問題的底部Navbar在iphone上看起來的方式。 我可以做些什麼來使其適應小的寬度,仍然看起來不錯?Navbar with Bootstrap

Here is my code:

謝謝 可人。

回答

1

http://bootply.com/104762#

改變

<div class="navbar navbar-inverse navbar-fixed-static" role="navigation"> 

<div class="container-fluid"> 
<div class="navbar-header"> 
    <a href="#" class="navbar-brand navbar-left">PRECISE</a> 
</div> 
<button class="navbar-toggle" data-toggle="collapse" data-target=".navHeaderCollapse"> 
    <span class="sr-only">Toggle navigation</span> 
    <span class="icon-bar"></span> 
    <span class="icon-bar"></span> 
    <span class="icon-bar"></span> 
</button> 

<div class="navbar navbar-inverse navbar-static-top" role="navigation"> 

<div class="container-fluid"> 
<div class="navbar-header"> 
    <a href="#" class="navbar-brand navbar-left">PRECISE</a> 
    <button class="navbar-toggle" data-toggle="collapse" data-target=".navHeaderCollapse"> 
     <span class="sr-only">Toggle navigation</span> 
     <span class="icon-bar"></span> 
     <span class="icon-bar"></span> 
     <span class="icon-bar"></span> 
    </button> 
</div> 

您要在您的頁腳做什麼並不清楚。也許你想通讀Bootstrap3 official guides