Reputation: 199
I want to create a menu with dropdown but dropdown won't work.
It my fiddle. there is a code for that button but it don't show. I don't know why. Here is my fiddle: JSFIDDLE
<ul class="dropdown-menu" role="menu">
<li><a href="#">Action</a></li>
<li><a href="#">Another action</a></li>
<li><a href="#">Something else here</a></li>
<li class="divider"></li>
<li><a href="#">Separated link</a></li>
</ul>
I use bootstrap 3.0
Here is image how it looks like :
Upvotes: 0
Views: 76
Reputation: 1297
Remove overflow:hidden of div and img from css and assign to .wrapper
.wrapper{
border: 1px solid black;
margin: 4em auto;
position: relative;
width: 502px;overflow:hidden;
}
Upvotes: 1
Reputation: 73
use this :
<ul class="dropdown-menu" role="menu">
<li><a href="#">Action</a>
<ul><li>submenu 1 </li>
<li>submenu 2 </li>
<li>submenu 3 </li></ul>
</li>
<li><a href="#">Another action</a></li>
<li><a href="#">Something else here</a></li>
<li class="divider"></li>
<li><a href="#">Separated link</a></li>
</ul>
Upvotes: 0