Based on @ bto.rdz's advice, this was the solution I came up with for # 5 navbar with left, middle and right sections:
<nav class="navbar navbar-inverse" role="navigation"> <div class="container-fluid"> <div class="row"> <div class="col-xs-4 navbar-text"> <a href="#" class="navbar-link">Left</a> </div> <div class="col-xs-4 navbar-text text-center"> <a href="#" class="navbar-link">Middle</a> </div> <div class="col-xs-4 navbar-text text-right"> <a href="#" class="navbar-link">Right</a> </div> </div> </div> </nav>
I realized that since there is a liquid container in the navigation bar, why not create a row with three columns for the left, middle and right links. It almost worked, except that it split into 768 pixels. I traced this to Bootstrap by adding 15px left and right margins at this breakpoint. I tried this behavior as follows, and now I have the desired behavior for all browser widths.
.navbar-text { margin-left: 0; margin-right: 0; }
source share