On Mar 25, 2010, at 11:46 AM, Dave M G wrote:

> I usually use this code to reset focus at the top of my CSS code:
> 
> :focus {
>  outline: 0;
> }
> 
> But for some reason, on a new page I'm working on which uses Javascript
> to manage some buttons, all the buttons are getting dashed line borders
> when they take focus (in FireFox 3.6).
> 
> Someone suggested to me that I try this:
> 
> :focus {
>  outline: none;
> }

The dotted outline actually uses the border.

input[type="button"]:focus::-moz-focus-inner {
outline: none;
border: transparent;
}

But I consider this an extremely _bad_ idea.

PS - in the future, please start a new thread instead of changing the topic of 
an existing thread. Thank you.

Philippe
---
Philippe Wittenbergh
http://l-c-n.com/





______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to