The below css properties are for input type "text".
1) input[type="text"]{outline:none; padding-left:5px;background:#000}
input[type="password"]{outline:none; padding-left:5px; background:#999 ;}
if you wrote only first line it applies for only the type text .if you want to apply some properties to all the text box then you have to write the following css,
2) input,textbox{outline:none; padding-left:5px;}
use and Enjoy :)
No comments:
Post a Comment