|
阅读:6198回复:10
ff点标签和链接时的虚线框,怎么消除
我如果点两次标签,标签上就会出现虚线框,打开一些链接的时候也是有虚线框,看着很丑,有没有办法去掉虚线框。
|
|
|
1楼#
发布于:2007-12-29 20:31
如果你安装了stylish,可以用http://userstyles.org/styles/1600
,如果没有可以在userchrome.css里写 .tabbrowser-tab {
-moz-user-focus: ignore !important;
} |
|
|
2楼#
发布于:2007-12-29 20:31
谢谢帮忙,那个文件是在哪个文件夹呢。
我只找到了userChrome-example.css,没有你说的那个文件。 加那段代码加到文件里哪儿 |
|
|
3楼#
发布于:2007-12-29 20:31
把文件名里面的 -example 去掉就是了。
|
|
|
4楼#
发布于:2007-12-29 20:31
最近论坛附件是不是总是链接出错啊,昨天和今天一楼的附件不相同的说。
|
|
|
|
5楼#
发布于:2007-12-29 20:31
|
|
|
6楼#
发布于:2007-12-29 20:31
汗个,附件真不一样了。现在标签的虚线框是去掉了,但是点链接的虚线框还是没搞定,那个又得怎么了,谢谢了
|
|
|
7楼#
发布于:2007-12-29 20:31
星九:汗个,附件真不一样了。现在标签的虚线框是去掉了,但是点链接的虚线框还是没搞定,那个又得怎么了,谢谢了回到原帖 stylish下我的写法如下, 不知道直接拷贝到userContent.css里行不行。 @namespace url(http://www.w3.org/1999/xhtml);
@-moz-document url-prefix(http), url-prefix(file) {
a:hover:active {
color: #10bae0;
}
a:not(:hover):active {
color: #0000ff;
}
*:focus {
-moz-outline: 2px solid -moz-rgba(16,186,224,0.5) !important;
-moz-outline-offset: 1px !important;
-moz-outline-radius: 3px !important;
background-color:#de0066;
color:black !important;
}
button:focus,
input[type="reset"]:focus,
input[type="button"]:focus,
input[type="submit"]:focus,
input[type="file"] > input[type="button"]:focus {
-moz-outline-radius: 5px !important;
}
button:focus::-moz-focus-inner {
border-color: transparent !important;
}
button::-moz-focus-inner,
input[type="reset"]::-moz-focus-inner,
input[type="button"]::-moz-focus-inner,
input[type="submit"]::-moz-focus-inner,
input[type="file"] > input[type="button"]::-moz-focus-inner {
border: 1px dotted transparent !important;
}
textarea:focus, button:focus, select:focus, input:focus {
-moz-outline-offset: -1px !important;
}
input[type="radio"]:focus {
-moz-outline-radius: 12px;
-moz-outline-offset: 0px !important;
}
a:focus {
-moz-outline-offset: 0px !important;
}
} |
|
|
8楼#
发布于:2007-12-29 20:31
我觉得链接虚线框挺有用啊,能让你浏览论坛的时候知道你最后点了哪个链接
|
|
|
|
9楼#
发布于:2007-12-29 20:31
wushi777: 我试了直接放在userContent.css里,效果如下,不知道是不是你ff里的效果。 |
|
|
10楼#
发布于:2007-12-29 20:31
我把红色改为ffffff后就变白了,但是那个蓝色的框还是没法弄掉。
|
|

