/    Sign up×
Community /Pin to ProfileBookmark

CSS and form elements

I have a form located at:
[url]www.hybrid-design.net/quote_copy.html[/url]

The submit and reset button at the bottom should have a gray border around them. However, the buttons, once clicked, have a black border. The black border remains even when the page is refreshed. It seems that whatever button is the last one clicked, turns black. How do I turn this off?

Also, I cannot figure out why there is the 3d border around the option box. I added the same CSS there, but it’s not looking like the others.

This is my CSS code:
STYLE=”color: #000000; font-family: arial; font-size: 11px; background-color: #ffffff; border-right: #cccccc 1px solid; border-top: #cccccc 1px solid; border-left: #cccccc 1px solid; color: #000000; border-bottom: #cccccc 1px solid;”

Thank you for your help!

to post a comment
CSS

4 Comments(s)

Copy linkTweet thisAlerts:
@ray326Aug 07.2004 — Doesn't happen in Firefox.
Copy linkTweet thisAlerts:
@mickapooauthorAug 07.2004 — It's still happening in my browser- I use IE 6.0
Copy linkTweet thisAlerts:
@Stephen_PhilbinAug 07.2004 — For getting rid of the black thing after you've clicked a button, just adding onFocus="this.blur()" to the button should do the trick.

Like:[CODE]<input type="submit" onFocus="this.blur()" value="Pity the mouseless" />[/CODE]

It'll annoy the hell out of anyone that doesn't have a mouse, but if you're only testing in IE then I'm guessing you really won't be bothered by that.
Copy linkTweet thisAlerts:
@mickapooauthorAug 07.2004 — What about the fact that the drop down box still has the shadowing? I can't figure out why that would have it and the other form elements do not, as I used the same CSS for all elements.
×

Success!

Help @mickapoo spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.28,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...