Click to See Complete Forum and Search --> : submit button border


metrosoccer12
08-07-2003, 05:39 PM
im using a form and i have a submit button which has css and stuff so it has white background, black text, and a black border 1 px. Anway if i go to type in one of the fields it makes the border around the submit button wider. Is there a code i can use to stop this?

PeOfEo
08-07-2003, 05:48 PM
could I see whats happening for myself? Could you please list the url.

metrosoccer12
08-07-2003, 06:39 PM
http://www.mathismagic.com/shoutbox2.html

SearedIce
08-07-2003, 07:12 PM
It seems like the border gets wider because the button is selected or "active" as it would be in href links. Like because you have it set so that simply by pressing the enter key on the keyboard that it "clicks" the submit button. I'm think with some javascript you could make it not do this but i am not sure exaclty how.