Top Align Submit button - HTML CSS CSS Form

HTML CSS examples for CSS Form:input submit

Description

Top Align Submit button

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 {<!--from   w w  w. j av  a  2s.  c o m-->
   overflow: auto;
   border: 1px solid black;
   width: 500px;
   padding-left: 10px;
   padding-right: 10px;
}


      </style> 
 </head> 
 <body> 
  <div id="form"> 
   <form method="post" action="google.php"> 
    <textarea rows="3" cols="40" style="width: 300px; float: left;"></textarea> 
    <span class="right" style="width: 195px; float: right; text-align:center;height: 80px; line-height: 70px">
    <input type="submit" display:inline-block;> </span> 
   </form> 
  </div>  
 </body>
</html>

Related Tutorials