I am struggling to align the nav bar to the centre in pset7 finance. I've done everything else, including all the other formatting to match the staff solution but, this has me stumped! My code is below.
<ul class="nav nav-pills"> <li><a href="buy.php">Buy</a></li> <li><a href="sell.php">Sell</a></li> <li><a href="quote.php">Quote</a></li> <li><a href="history.php">History</a></li> <li><a href="password.php">Change Password</a></li> <li><a href="logout.php"><strong>Log Out</strong></a></li> </ul>
So far I've tried creating a .center class with margin:auto and text-align: center within the table class in bootstrap.css, before then wrapping the code within this. I have also tried using different css files as there was a suggestion elsewhere that they are corrupted. So far though I have had no luck so any help would be much appreciated. Thanks a lot.