To center a nav

  • Apply the text-center class on ul.nav
  • Remove float on ul.nav and its child <li> elements
  • Add display:inline-block on the <li> elements

 

<nav class=”navbar ” style=”margin-top:24pt;”>

<!– /.container-fluid –>
</nav>

To center a nav