I have a dropdown menu from bootstrap that I am aligned on the right of my page and I want to open to the left. I tried to put pull-left but all it does is moving my button to the left part of the div. Why is that?
<button class="btn btn-link dropdown pull-left account-menu-btn">
<a href="#" class="dropdown-toggle icon-el" data-toggle="dropdown" role="button" aria-expanded="false">
<img src="http://placehold.it/40X40" class="img-circle">
</a>
<ul class="dropdown-menu" role="menu">
<li>
<a href="#">
Create
</a>
</li>
<li class="divider">
</li>
<li>
<a href="#">
Settings
</a>
</li>
<li>
<a href="#">
Log out
</a>
</li>
</ul>
</button>
and here is my account-menu-btn style:
.account-menu-btn {
float: right;
}
.account-menu-btn { float: left; }
? – Rayon