PDA

View Full Version : CSS dotted outline when clicking a button



NeoDreamer
August 27th, 2009, 07:34 PM
http://img197.imageshack.us/img197/4490/outline.png

How do you remove a dotted outline that appears when someone clicks a <button>? I've tried the following, but it does not have the same effect as if it were applied to an <a>.



button {
outline: none;
}
button img {
outline: none;
}

frostBite
August 27th, 2009, 09:08 PM
What browser is this happening in? I'm pretty sure it's different effects in different browsers

NeoDreamer
August 27th, 2009, 09:16 PM
I'm using Firefox 3.0.12.

I know that IE does not support the outline property, but I knew that FF supported it for at least anchor links.