How to get rid of the focus rectangle?

Leo Savernik l.savernik at aon.at
Thu Aug 7 18:49:48 BST 2003


Am Donnerstag, 7. August 2003 19:25 schrieb Germain Garand:
> Le Jeudi 07 Août 2003 04:31, Leo Savernik a écrit :
[...]
> yes there is :
> $ grep -n focus css/html4.css
> 478::focus          { outline: 1px dotted invert }

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>. When I put 
the rules into a <style> section in the HTML file, the focus rectangles 
vanish. I don't have a clue what's causing that behaviour, that's why I'm 
asking.




More information about the kfm-devel mailing list