When form is activated related button gains a black border in IE
-
Hello,
Just wondering if anyone has experienced the issue I am having with Internet Explorer 6.x.
Issue: When I select a form to enter text characters the associated forms button gains a black border around the button. This does not happen in firefox.
Looking at my search form:-
sidebar.php
<li id="search">
<h2><?php _e('Search'); ?></h2>
<form id="searchform" method="get" action="<?php echo $_SERVER['PHP_SELF']; ?>">
<div>
<input type="text" name="s" id="s" size="12"
onclick="this.className='currentField'"
onblur="this.className='changedField'"/>
<input type="submit" value="<?php _e('Search'); ?>" /></div>
</form>
</li>The CSS file to control the colors of the field:-
.changedField {
background-color:white;
}
.currentField {
background-color:#F2F2F2; /* light-grey for active */
}
Any pointers to resolve this would be most appreciated…
- The topic ‘When form is activated related button gains a black border in IE’ is closed to new replies.