/ Published in: CSS
Makes the form field background yellow and the border red when it is the active field. Works in most browsers except the usual lame ones (IE5.5 & 6).
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
textarea:focus, input:focus { border: 1px solid #900; background-color: #FFFF9D; }