![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
"Johannes Kiehl" <dont-use-this (AT) arcor (DOT) de> wrote: news an.2006.02.11.15.49.10.254196 (AT) arcor (DOT) de....Hi group, I've been losing most of my remaining hair today, trying to track down a problem with IE6.0 (builds: .2600 and XP SP 2). I set the border-width of form input fields to 1px via inline CSS. But whenever I call the focus() method of any of the form fields, the border width of the (first) submit button changes to 2px. It doesn't matter whether the focus() method is called immediately onload or whether it's delayed with settimeout(). I suppose I'm not the first earthling to notice this, so any reference to the problem and solutions is welcome here (might even restore my mop). A working sample can be seen here: http://www.absentia.de/temp/border2.htm As web pages don't live forever, I'll attach the code to the post. Don't grumble, it's short... Thanks for your comments Johannes [snip] |
#2
| |||
| |||
|
|
IE adds a black border to the <input type="submit>/<button type="submit"></button> button when the form gets focus. |
|
Remove your style and script and click on your form you should see it, or change your border color to red and it will show up just as well. |
#3
| |||
| |||
|
|
On Sat, 11 Feb 2006 19:23:30 +0000, BootNic wrote: IE adds a black border to the <input type="submit>/<button type="submit"></button> button when the form gets focus. Just out of insatiable curiosity: is there a way to suppress this form focus marking behaviour? |
#4
| |||
| |||
|
|
"Johannes Kiehl" <dont-use-this (AT) arcor (DOT) de> wrote: news an.2006.02.12.00.22.40.434843 (AT) arcor (DOT) de....[snip] Just out of insatiable curiosity: is there a way to suppress this form focus marking behaviour? [snip] |
![]() |
| Thread Tools | |
| Display Modes | |
| |