firefox3 focus outline

ff3的连接点击总会出现那个恼人的虚线边框,实际上是Firefox在<a>这个标签处于focus状态时给它加的outline,解决办法是在CSS里写上:

a {
outline: none;
}

或者:

a:focus {
outline: none;
}

一劳永逸的办法在about:config里browser.display.focus_ring_width:0

Related Posts

Category web | Tags: ,

Social Networks : Technorati, Stumble it!, Digg, de.licio.us, Yahoo, reddit, Blogmarks, Google, Magnolia.

You can follow any responses to this entry through the RSS 2.0 feed.

2 Comments so far
  1. by 炎妖儿

    On February 13, 2008 at 3:28 am

    顺便说一下,ff3的新图标,前进后退/刷新停止 这几个实在是难看到暴

    [Reply]

  2. by 炎妖儿

    On February 14, 2008 at 2:43 pm

    在IE下,需要清除外围虚线框可以在标签 的结构中加入 hidefocus=”true” 。

    [Reply]

2 Responses to “firefox3 focus outline”




XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="">

By submitting a comment here you grant SpriteWood a perpetual license to reproduce your words and name/web site in attribution. Inappropriate comments will be removed at admin's discretion.