Display horizontal form submit buttons - HTML CSS CSS Form

HTML CSS examples for CSS Form:input submit

Description

Display horizontal form submit buttons

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, form input{
   float: left;
}


      </style> 
 </head> <!--   w w w. j a  v  a  2 s  . c om-->
 <body> 
  <form name="frm1" action=""> 
   <input type="text" name="xxx"> 
   <input type="submit" name="btn_submit" value="Submit"> 
  </form> 
  <form name="frm2" action=""> 
   <input type="submit" name="btn_reset" value="Reset"> 
  </form>  
 </body>
</html>

Related Tutorials