How do you change the style of a text box from the default. For instance, so it looks like:
alt text http://www.wiggle100.com/Untitled-2.png
or
alt text http://www.wiggle100.com/Untitled-3.png
instead of:
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Theoretically you can write a style rule like:
However, the
[type=text]syntax is not cross-browser compatible. I generally add atextclass to the input, like so;Then you can write a traditional CSS rule like:
Of course, this assumes you want four pixel solid purple borders. Adjust accordingly.