0
我正在使用引導程序,但無法將過濾器保持在同一行上,正在網頁上的某個部分上工作。我嘗試了幾種方法,目前正在嘗試使用列,嘗試內聯div,仍然沒有正確排隊。在同一行上保留搜索和過濾器下拉菜單
div class="col-lg-12">
<div class="row">
\t <div class="col-lg-10">
\t \t <div class="rev-search" style="overflow: hidden; padding-right:.5em;" >
<input type="text" style="width: 80%;" id="rev-search" placeholder="Search" autofocus="" />
<span><i class="fa fa-search"></i></span>
</div>
\t </div>
\t <div class="col-lg-2">
<div class="dropdown pull-right">
<button class="btn btn-default dropdown-toggle" style="float: right;" type="button" id="group_filter" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"><?php echo $text_filter_group;?><span class="caret"></span></button>
<ul class="dropdown-menu" aria-labelledby="group_filter">
<?php
foreach ($customer_groups as $group){
\t echo '<li><a href="'.$groupSearch.'&filter_customer_group_id='.$group['order_id'].'">'.$group['name'].'</a></li>';
}
?>
</ul>
</div>
\t </div>
</div>