twitter bootstrap - Why text and input on same line? -


i have example.

here html , bootstrap3:

<form class="form-horizontal">   <div class="form-group">     <label for="inputemail3" class="col-sm-2 control-label">email</label>     <div class="col-sm-10">       <input type="email" class="form-control" id="inputemail3" placeholder="email">     </div>   </div>   <div class="form-group">     <label for="inputpassword3" class="col-sm-2 control-label">password</label>     <div class="col-sm-10">       <input type="password" class="form-control" id="inputpassword3" placeholder="password">     </div>   </div>   <div class="form-group">     <div class="col-sm-offset-2 col-sm-10">       <div class="checkbox">         <label>           <input type="checkbox"> remember me         </label>       </div>     </div>   </div>   <div class="form-group">     <div class="col-sm-offset-2 col-sm-10">       <button type="submit" class="btn btn-default">sign in</button>     </div>   </div> </form> 

i expect text , input on same line, why text , inputs not on same line, missing?


Comments

Popular posts from this blog

magento2 - Magento 2 admin grid add filter to collection -

Android volley - avoid multiple requests of the same kind to the server? -

Combining PHP Registration and Login into one class with multiple functions in one PHP file -