View Full Version : Simple yet annoying problem with text field and submit button

10-24-2009, 03:05 PM

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
padding: 4px;
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" />

Any thoughts?


EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum