怎样将导航条中的部分导航右置
我的代码是这样的:
<nav class="navbar navbar-default" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<span class="sr-only">Toggle navigation</span><span class="icon-bar"></span>
<span class="icon-bar"></span><span class="icon-bar"></span></button>
<a class="navbar-brand" href="#">现代浏览器博物馆</a>
</div>
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav" style="font-size:25px;">
<li id="one" class="active"><a href="#">Link</a></li>
<li id="two"><a href="#">Link</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown<span class="caret"></span></a>
<ul class="dropdown-menu" role="menu">
<li><a href="#" >Action</a></li>
<li><a href="#">Action</a></li>
<li class="divider"></li>
<li><a href="#">Action</a></li>
</ul>
</li>
</ul>
</div>
</div>
</nav>
打开的效果如下:
现在我想如下图将部分导航右置,比如将Dropdown右置,应该怎么修改代码呢?