我需要我的菜单看起来像这样
link1 link2
link3
link4
link5
link6
这是我的标记
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li>@Html.ActionLink("Link1", "Index", "Link1")</li>
<li>
<a href="" class="dropdown-toggle" data-toggle="dropdown">Link2<b class="caret"></b></a>
<ul class="dropdown-menu">
<li>@Html.ActionLink("Link3", "Index", "Link3")</li>
<li>
<a href="" class="dropdown-toggle" data-toggle="dropdown">Link4<b class="caret"></b></a>
<ul class="dropdown-menu">
<li>@Html.ActionLink("Link5", "Index", "Link5")</li>
<li>@Html.ActionLink("Link6", "Index", "Link6")</li>
</ul>
</li>
</ul>
</li>
</ul>
<p class="nav navbar-text navbar-right">Hello, @User.Identity.Name</p>
</div>
但这就是我得到的
链接4永远不会展开以显示子链接(link5&amp; link6)
有什么想法吗?