Bootstrap Tutorial - Inner navigation bar








The following code shows how to inner navigation bar.

Example

<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css"
  href="http://getbootstrap.com/2.3.2/assets/css/bootstrap.css">
<style type='text/css'>
.navbar .nav>.active>a {
  background: none;
}<!-- w  ww. j a v  a2s.  c o  m-->

.overwrite {
  background-color: #EEEEEE;
}
</style>
</head>
<body>
  <div class="navbar">
    <div class="navbar-inner">
      <a class="brand" href="#">Title</a>
      <ul class="nav">
        <li class="active overwrite"><a href="#">Home</a></li>
        <li><a href="#">Link</a></li>
        <li><a href="#">Link</a></li>
      </ul>
    </div>
  </div>
</body>
</html>

Click to view the demo