Control the height of text inputs and submit input buttons - HTML CSS CSS Form

HTML CSS examples for CSS Form:input submit

Description

Control the height of text inputs and submit input 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">

body {<!--from   w w  w  .  ja  v  a  2 s.c o  m-->
   background-color: #ccc;
}
input[type=text] {
   width: 218px;
}
input[type=submit] {
   background-color:#000;
   color: #fff;
}
input {
   padding: 9px;
   font-size: 18px;
   float: left;
   border: 0;
   display: block;
   margin: 0;
}


      </style> 
 </head> 
 <body> 
  <input type="text" name="email"> 
  <input type="submit" value="?">  
 </body>
</html>

Related Tutorials