0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00

For now, add hacky <div id="navbar"> to avoid HTML validation error in Dashboard example

Closes #17319 by merging it.
This commit is contained in:
David Baughman 2015-08-25 13:43:39 -07:00 committed by Chris Rebert
parent 8644ce0d7e
commit bf31c8b9d9

View File

@ -31,6 +31,7 @@
<span class="icon-bar"></span> <span class="icon-bar"></span>
</button> </button>
<a class="navbar-brand" href="#">Project name</a> <a class="navbar-brand" href="#">Project name</a>
<div id="navbar">
<nav class="nav navbar-nav pull-left"> <nav class="nav navbar-nav pull-left">
<a class="nav-item nav-link" href="#">Dashboard</a> <a class="nav-item nav-link" href="#">Dashboard</a>
<a class="nav-item nav-link" href="#">Settings</a> <a class="nav-item nav-link" href="#">Settings</a>
@ -40,6 +41,7 @@
<form class="navbar-form pull-right"> <form class="navbar-form pull-right">
<input type="text" class="form-control" placeholder="Search..."> <input type="text" class="form-control" placeholder="Search...">
</form> </form>
</div>
</nav> </nav>
<div class="container-fluid"> <div class="container-fluid">