maharg
Technical User
- Mar 21, 2002
- 184
Hi folks
I have a complex form with many fields and want to change the border color of the focussed field to red, so people know where they are at at any time.
I tried
My main linked css for .form is ...
But no joy. I've tried various ways of declaring the color.
Any idea what I'm doing wrong?
I have a complex form with many fields and want to change the border color of the focussed field to red, so people know where they are at at any time.
I tried
Code:
<input type="text" size="30" maxlength="50" name="FamilyName" class="form" onfocus="this.style.border-color:'#f00';" onblur="this.style.border-color:'#000';" value="" />
My main linked css for .form is ...
Code:
.form {background-color: #fff; font-size: 10px;
border: 1px solid #000000;
font-family: verdana,helvetica,arial,sans-serif;
color: rgb(090,090,120);
border-color: rgb(000,000,000);
scrollbar-face-color:rgb(157,185,200);
scrollbar-shadow-color:rgb(85,128,151);
scrollbar-highlight-color:rgb(206,220,227);
scrollbar-3dlight-color:rgb(206,220,227);
scrollbar-darkshadow-color:rgb(0,0,0);
scrollbar-track-color:rgb(206,220,227);
scrollbar-arrow-color:rgb(0,0,0)}
But no joy. I've tried various ways of declaring the color.
Any idea what I'm doing wrong?