new to Bootstrap, following this question almost exactly, and can't seem to make my pills/tabs center?
</head> <body>
<div class="container">
<ul class="nav nav-pills">
<li><a href="#home" data-toggle="tab">Home</a></li>
<li><a href="#profile" data-toggle="tab">Profile</a></li>
<li><a href="#messages" data-toggle="tab">Messages</a></li>
<li><a href="#settings" data-toggle="tab">Settings</a></li>
</ul>
</div>
<html>
.nav-tabs > li, .nav-pills > li {
float:none;
display:inline-block;
*display:inline; /* ie7 fix */
zoom:1; /* hasLayout ie7 trigger */
}
.nav-pills {
text-align:center;
}
I have the CSS in a file called style.css, and I am importing as such
<link href="style.css" rel="stylesheet" type = "text/css">
Both files are within the bootstrap folder, so not really sure what's going on