I have a form set up with various input fields. My goal is to make it so that when a user clicks on one of the text boxes, it will be highlighted with a color. I've been attempting to achieve this using CSS3 along with the CSS3 Generator tools in Chrome and Firefox 3.6.17. Unfortunately, I haven't been successful in getting the desired results in any browser. Below is the code snippet I've been working with:
.user-input:focus {
-webkit-box-shadow: 0 0 5px #249663;
-moz-box-shadow: 0 0 5px #249663;
box-shadow: 0 0 5px #249663;
behavior: url(../css/pie.htc);
}
If anyone can provide assistance or advice on how to solve this issue, it would be greatly appreciated.
Warm Regards, Tiago Castro