How to get rid of the focus rectangle?
Germain Garand
germain at ebooksfrance.org
Thu Aug 7 20:06:00 BST 2003
Le Jeudi 07 Août 2003 18:49, Leo Savernik a écrit :
> Yeah, you're right. But I replaced that line by:
> :focus { outline: none } /* should be default, but in fact it's not */
>
> a:focus { outline: 1px dotted invert }
>
> but still have a focus rectangle around each element, not only <a>.
strange, that works for me...
I simply edited my installed html4.css then restarted konq.
However, I'm not sure what you are trying to do is right? What's the problem
with having any focusable element dotted on focus? Any specific example?
Beside, being a non-inherited pseudo class, a:focus would work for
<a href="foo">bar</a>
but it wouldn't work for
<a href="foo"><b>bar</b></a>
More information about the kfm-devel
mailing list