Now bootstrap 3 has buttons in the navigation bar, for example:
<button type="button" class="btn btn-default navbar-btn">Sign in</button>
He uses navbar-btn so that he knows this in the navigation bar.
If you want it to work, do the following:
<li> <form action="#"> <button class="btn btn-default navbar-btn">Link</button> </form> </li>
Thus, it still acts as an anchor tag. Just change # to the value you really want to go to.
So for this instance:
<li> <form action="<?php echo BASE_PATH; ?>register.php"> <button class="btn btn-default navbar-btn">Link</button> </form> </li>
Albzi Sep 13 '13 at 10:23 2013-09-13 10:23
source share