HTML CSS examples for CSS Form:input
Align an input box at a particular location
<html> <head> <style> .centeredSplash {<!--from www. j a va2 s . c o m--> position:relative; width:100%; height:100%; background:url('http://www.java2s.com/style/demo/Google-Chrome.png') center center no-repeat; } .roundcorner { background-color:Chartreuse; -moz-border-radius:9px; -webkit-border-radius:9px; border:0px solid yellow; padding:16px; width:401px; margin:0 auto; } input { -webkit-border-radius:6px; -moz-border-radius:6px; border-radius:6px; width:100px; height:21px; } </style> </head> <body> <div class="centeredSplash"> <div class="roundcorner"> <input type="text" id="email"> </div> </div> </body> </html>