阅读:3848回复:6
firefox滚动条宽度在哪里修改?
firefox滚动条宽度在哪里修改?
![]() |
|
1楼#
发布于:2011-03-29 15:45
如何修改FIREFOX滚动条样式(页 1) - Firefox 3.6.* - 广场 @ Mozest.com - Mozilla 中文支持社区与中文本地化网站
http://g.mozest.com/archiver/tid-18559.html |
|
2楼#
发布于:2011-03-29 15:45
试试把下面的代码放在usercontent.css里,重启后生效:
@-moz-document url-prefix(http://),url-prefix(https://) { /* 滚动条颜色 */ scrollbar { -moz-appearance: none !important; background: rgb(0,255,0) !important; } /* 滚动条按钮颜色 */ thumb,scrollbarbutton { -moz-appearance: none !important; background-color: rgb(0,0,255) !important; } /* 鼠标悬停时按钮颜色 */ thumb:hover,scrollbarbutton:hover { -moz-appearance: none !important; background-color: rgb(255,0,0) !important; } /* 隐藏上下箭头 */ scrollbarbutton { display: none !important; } /* 纵向滚动条宽度 */ scrollbar[orient="vertical"] { min-width: 15px !important; } } |
|
|
3楼#
发布于:2011-03-29 15:45
好像加了没看到效果唉。和原来一样。
改了宽度什么也看不出来。 |
|
4楼#
发布于:2011-03-29 15:45
|
|
|
5楼#
发布于:2011-03-29 15:45
|
|
6楼#
发布于:2011-03-29 15:45
KMC版主给的脚本有效的。
|
|