<div class="btn-group"> <button class="btn btn-mini x-automatic-search x-automatic-search-icon" title="Automatic Search" data-container="body"><i class="icon-search"></i></button> <button class="btn btn-mini dropdown-toggle" data-toggle="dropdown"> <span class="caret"></span> </button> <ul class="dropdown-menu"> <li class="x-automatic-search">Automatic Search</li> <li class="x-manual-search">Manual Search</li> </ul> </div>