• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

form button appearing selected

 
Ronan Dowd
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a JSP page with a form on it with various elements on it (input fields etc). I also have a button named "Continue" at the bottom of my JSP.
Once the page loads - if i click on the screen (i.e. inside any of my input fields or inside where the form is defined) the Continue button immediately
changes to look like its been "selected" - i.e. has a thick black border around it. How can i stop this from happening - any help great.
 
Zip Ped
Ranch Hand
Posts: 336
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not quite sure, but I think this is the default behaviour on a browser for a submit button.

For e.g. if you chose to reply to this post, you would see the "Add Reply" button appearing as selected.

You might also want to check the css associated with your page.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65216
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which browser and how is the button defined? Please be sure to use UBB code tags when posting code. Please read this for more information.
 
Ronan Dowd
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I'm using IE6, the button is defined like below:



The style for my button is as below:

 
Zip Ped
Ranch Hand
Posts: 336
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please check your styles:

Black border:

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic