Twitter Bootstrap - Button Width in Drop-down menu -
fairly new bootstrap-- have button , drop down menu composed of unordered list containing buttons. how make button widths same-- or off base code:
here code:
<div class="btn-group" style="margin-bottom: 5px"> <a class="btn btn-large dropdown-toggle" data-toggle="dropdown" href="#"> <i class="icon-wrench"> </i>admin actions <span class="caret"></span></a> <ul class="dropdown-menu"> <li> <button class="btn btn-large"> <i class="icon-plus"></i>create content</button> </li> <li> <button class="btn btn-large"> <i class="icon-wrench"></i>edit page</button></li> <li><button class="btn btn-large"> <i class="icon-plus"></i>add page</button></li> </ul> </div>
and here fiddle http://jsfiddle.net/5wqu5/
you can add 'btn-block' buttons...
<button class="btn btn-large btn-block">
updated fiddle: http://jsfiddle.net/5wqu5/2/
Comments
Post a Comment