I have created bootstrap dropdown as below:
<ul style="right: 150px; position: absolute;">
<li>
<ul class="nav">
<li class="dropdown">
<a class="dropdown-toggle" href="http://google.com">
Dropdown <b class="caret"></b>
</a>
<ul class="dropdown-menu">
<li><a href="#">Link 1</a></li>
<li><a href="#">Link 2</a></li>
</ul>
</li>
</ul>
</li>
</ul>
All the Links (Link1 and Link2) are displayed one below the other.
However, I should only be able to view the links by clicking the DropDown.