Form Buttons

A

Anon

I have a button on a form that has been formatted to
blend into the page. However when the form is active I
get a black box around my button. Is there a way to
either remove the black box or change the color.

Thanks
 
J

Jon Spivey

Hi,
No - that's a feature of the browser, it helps users who don't use a mouse
navigate the page. I know it looks ugly but at least it serves a purpose and
the next visitor to your site may need it.
 
P

P@tty Ayers

Anon said:
I have a button on a form that has been formatted to
blend into the page. However when the form is active I
get a black box around my button. Is there a way to
either remove the black box or change the color.

If you mean the dotted-line "focus" border, it's there for accessibility
reasons, and it's best to leave it there if you think anyone handicapped may
ever use your web site. But there is code you can use to remove it if you
must.
 
P

P@tty Ayers

If you mean the dotted-line "focus" border, it's there for accessibility
reasons, and it's best to leave it there if you think anyone handicapped
may ever use your web site. But there is code you can use to remove it if
you must.


<a href="#" onfocus="if(this.blur)this.blur()">Here's a link </a>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top