html - Alignment in form-horizontal using bootstrap -
actually m new on bootstrap,i using form-horizontal creating layout responsive. code:
<div class="panel-body"> <form class="form-horizontal" role="form"> <div class="form-group"> <div class="col-md-2"> <label for="" class="control-label">from:</label> <div id="date_dropdown" ></div> <div> <div class="col-md-2"> <label for="" class="control-label">to:</label> <div id="date_dropdown1" ></div> </div> <div class="col-md-2"> <label for="" class="control-label">dept:</label> <div id="dept_dropdown" ></div> </div> <div class="col-md-2"> <label for="" class=" control-label">factory:</label> <div id="factory_dropdown" ></div> </div> <div class="col-md-4"> <label for="" class=" control-label">batchtype:</label> <div id="batch_dropdown" ></div> </div> </div> </form>
in code having 2 date picker , 3 select drop down , value coming database.so want element should align in 1 line according device adjustable ..can u 1 me how can resolve ..
Comments
Post a Comment