Place button next to input - HTML CSS CSS Form

HTML CSS examples for CSS Form:input button

Description

Place button next to input

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <meta name="viewport" content="width=device-width, initial-scale=1"> 
  <style id="compiled-css" type="text/css">

.form-control {<!--from  w  w w.j ava2  s.c  o m-->
   display: inline-block;
}
.btn {
   display: inline-block;
}


      </style> 
 </head> 
 <body> 
  <div class="row"> 
   <div class="col-lg-12"> 
    <div class="form-group"> 
     <input class="form-control"> 
     <button class="btn btn-primary">Absenden</button> 
    </div> 
   </div> 
  </div>  
 </body>
</html>

Related Tutorials