user782104 user782104 - 1 year ago 71
HTML Question

The navbar dropdown menu does not beyond the container

Here is the navbar html

<div class="row">
<div class="col-xs-12">
<nav class="navbar" id="nav_menu">
<ul class="nav navbar-nav">
<li class="item"><a href="">Home</a></li>
<li class="dropdown item open">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="true">About us</a>
<ul class="dropdown-menu">
<li><a href="">People</a></li>

enter image description here

And the problem is the size is restrict to the navbar height, that means the dropdown box can not go beyond the nav bar size. I suspect it is not caused by z-index after checking. It is something related to the overflow, but any element tag need to change?

Thanks for helping

The test link:

Answer Source

<div class="row" style="overflow:visible;"></div>

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download