星九
小狐狸
小狐狸
  • UID22478
  • 注册日期2007-12-29
  • 最后登录2008-01-09
  • 发帖数5
  • 经验10枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
阅读:6089回复:10

ff点标签和链接时的虚线框,怎么消除

楼主#
更多 发布于:2007-12-29 20:31
我如果点两次标签,标签上就会出现虚线框,打开一些链接的时候也是有虚线框,看着很丑,有没有办法去掉虚线框。
wushi777
非常火狐
非常火狐
  • UID12365
  • 注册日期2006-04-17
  • 最后登录2011-04-13
  • 发帖数817
  • 经验10枚
  • 威望0点
  • 贡献值0点
  • 好评度1点
1楼#
发布于:2007-12-29 20:31
如果你安装了stylish,可以用http://userstyles.org/styles/1600
,如果没有可以在userchrome.css里写
.tabbrowser-tab {
   -moz-user-focus: ignore !important;
}
星九
小狐狸
小狐狸
  • UID22478
  • 注册日期2007-12-29
  • 最后登录2008-01-09
  • 发帖数5
  • 经验10枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
2楼#
发布于:2007-12-29 20:31
谢谢帮忙,那个文件是在哪个文件夹呢。
我只找到了userChrome-example.css,没有你说的那个文件。
加那段代码加到文件里哪儿
fiag
管理员
管理员
  • UID1188
  • 注册日期2004-12-21
  • 最后登录2025-09-10
  • 发帖数4681
  • 经验686枚
  • 威望0点
  • 贡献值402点
  • 好评度51点
3楼#
发布于:2007-12-29 20:31
把文件名里面的 -example 去掉就是了。
kmc
kmc
管理员
管理员
  • UID165
  • 注册日期2004-11-25
  • 最后登录2024-08-29
  • 发帖数9187
  • 经验398枚
  • 威望1点
  • 贡献值124点
  • 好评度41点
  • 忠实会员
  • 终身成就
  • 社区居民
4楼#
发布于:2007-12-29 20:31
最近论坛附件是不是总是链接出错啊,昨天和今天一楼的附件不相同的说。
Waterfox Current和Firefox Nightly都用,逐渐走出XUL扩展依赖
fiag
管理员
管理员
  • UID1188
  • 注册日期2004-12-21
  • 最后登录2025-09-10
  • 发帖数4681
  • 经验686枚
  • 威望0点
  • 贡献值402点
  • 好评度51点
5楼#
发布于:2007-12-29 20:31
kmc:最近论坛附件是不是总是链接出错啊,昨天和今天一楼的附件不相同的说。回到原帖


昨天不小心覆盖掉了……
星九
小狐狸
小狐狸
  • UID22478
  • 注册日期2007-12-29
  • 最后登录2008-01-09
  • 发帖数5
  • 经验10枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
6楼#
发布于:2007-12-29 20:31
汗个,附件真不一样了。现在标签的虚线框是去掉了,但是点链接的虚线框还是没搞定,那个又得怎么了,谢谢了
wushi777
非常火狐
非常火狐
  • UID12365
  • 注册日期2006-04-17
  • 最后登录2011-04-13
  • 发帖数817
  • 经验10枚
  • 威望0点
  • 贡献值0点
  • 好评度1点
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;
}

}
kmc
kmc
管理员
管理员
  • UID165
  • 注册日期2004-11-25
  • 最后登录2024-08-29
  • 发帖数9187
  • 经验398枚
  • 威望1点
  • 贡献值124点
  • 好评度41点
  • 忠实会员
  • 终身成就
  • 社区居民
8楼#
发布于:2007-12-29 20:31
我觉得链接虚线框挺有用啊,能让你浏览论坛的时候知道你最后点了哪个链接
Waterfox Current和Firefox Nightly都用,逐渐走出XUL扩展依赖
星九
小狐狸
小狐狸
  • UID22478
  • 注册日期2007-12-29
  • 最后登录2008-01-09
  • 发帖数5
  • 经验10枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
9楼#
发布于:2007-12-29 20:31
wushi777
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;
}

}
回到原帖

我试了直接放在userContent.css里,效果如下,不知道是不是你ff里的效果。
星九
小狐狸
小狐狸
  • UID22478
  • 注册日期2007-12-29
  • 最后登录2008-01-09
  • 发帖数5
  • 经验10枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
10楼#
发布于:2007-12-29 20:31
我把红色改为ffffff后就变白了,但是那个蓝色的框还是没法弄掉。
游客

返回顶部