Trying to use bootstrap to design a top navigation layout and I see that it defaults to left align. how do I get it to use full width of top?
Current https://jsfiddle.net/v2notb5n/
<nav class="navbar">
<div class="fluid-container">
<ul class="nav navbar-nav navbar-inverse">
<li class="nav_page active"><a href="#" class="nav_txt"> Home</a> </li>
<li class="dropdown"><a class="dropdown-toggle" data-toggle="dropdown" href="#" class="nav_txt"> Team <span class="caret"></span></a></li>
<ul class="dropdown-menu">
<li><a href="#">National</a></li>
<li><a href="#">Geo</a></li>
<li><a href="#">Team Pictures</a></li>
</ul>
<li> <a href="#" class="nav_txt">About us</a> </li>
</ul>
</div>
</nav>
Expected result: https://i.stack.imgur.com/7h8th.jpg
I tried something similar I found here Bootstrap navbar justify / span menu items occupying full width
but that didn't work for me.
Updated based on suggestions and answer here: https://jsfiddle.net/uahwra75/1/
` is supposed to actually reside *inside* of the `- ` that triggers it. I've corrected this in the above snippet, and also updated to include the full-width display change. Keep in mind you'll need Bootstrap's JavaScript file (and jQuery) in addition to Bootstrap's CSS file in order to get the dropdowns working.
– Obsidian Age Nov 27 '17 at 03:17