Set Padding Left for input text box - HTML CSS HTML Tag

HTML CSS examples for HTML Tag:input text

Description

Set Padding Left for input text box

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">
input {<!--from  w  w w.j  a v  a  2 s  .c o  m-->
   padding:6px;
}

input#checking {
   padding-left:41px
}
</style> 
 </head> 
 <body> 
  <input type="text" id="checking">  
 </body>
</html>

Related Tutorials