Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
10-24-2009, 03:05 PM #1
- Join Date
- Oct 2009
- Thanked 0 Times in 0 Posts
Simple yet annoying problem with text field and submit button
I'm facing an annoying problem where my button's border colour changes whenever I click on any of the text fields in the same form.
I could obviously use onfocus="blur();" on the text fields to resolve this, but then they will lose focus when selected.
So, I'm trying to find out where I can define this colour that the border changes to when text fields are selected. (i.e use camouflage so change of colour is not noticed)
// my css
border: 1px solid #B4CFEC;
// my html
<form name="details" method="post" action="#">
<input type="text" name="email" size="35" value="email" />
<input type="submit" name="login" value="login" />