Click to See Complete Forum and Search --> : Remove Border from Submit Button


Waqas_Badar
September 8th, 2006, 03:08 AM
I am putting a style on a submit button with border style to solid and 1Px. It looks fine in Firefox but when i view the page in IE there is a thick border around submitt button. I shows to me so because IE put focus on submitt button. is there a way through which i can remove focus or a border around submit button?

PeejAvery
September 8th, 2006, 02:26 PM
That isn't a border, it is a default button selection. The only way to get rid of this is to make it a regular button and give it a submit onclick function. I do not recommend this if there are a lot of fields. It will disable the on enter key submit feature.

<input type="button" value="Submit" onclick="document.FORMNAME.submit()">