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

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -