I'm fiddlin' around with bootstrap 3. I'm trying to make an horizontal navbar except it doesn't turn out horizontal. I thought the navbar should be horizontal out of the box, do I perhaps need some additional css?
I tried to make a navbar copying code from the bootstrap documentation like this:
<div class="row">
<div class="col-12">
<div class="navbar">
<div class="navbar-inner">
<a class="brand" href="#">Title</a>
<ul class="nav">
<li class="active"><a href="#">Home</a></li>
<li><a href="#">Link</a></li>
<li><a href="#">Link</a></li>
</ul>
</div>
</div>
</div>
</div>
http://jsfiddle.net/FxkZT/
DEMO
Your code is for BootStrap 2 and needs to be changed. In bootstrap 3:
<a class="brand" href="#">Title</a>
becomes <a class="navbar-brand" href="#">Title</a>
<ul class="nav">
becomes <ul class="nav navbar-nav">
<div class="navbar-inner">
More info in the doc here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With