in my form I have three input fields name, email, mobile but I want to change input text box like -
name : _____________
email: _____________
mob : _____________
in my form I have three input fields name, email, mobile but I want to change input text box like -
name : _____________
email: _____________
mob : _____________
you want to show only bottom part that's why apply css in such a way that it disables all the other three parts ..
apply CSS like
works for all
if you want to this also in ie6 than you can use bg image for this with background-position
.
so for all browser support with ie6 you should use this.
In your CSS:
From here you can play with padding to position the actual text entry where you would like it. For instance, to have the line extend 5 pixels either side of the actual entry area:
You can style an input box however you want. Check the Codepen where I have styled an input box only with css.
Style an INPUT box with only CSS
HTML -
CSS -