如何使用滚动条图像? [英] How can one use scroll bar images?
本文介绍了如何使用滚动条图像?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何使用HTML / CSS替换滚动条的图片?
How can I replace the scrollbar's images using HTML/CSS?
我有:
scrollbar-base-color: #00acee;
scrollbar-dark-shadow-color: #00acee;
scrollbar-track-color: #ffffff;
scrollbar-face-color: #00acee;
scrollbar-shadow-color: #00acee;
scrollbar-highlight-color: #00acee;
scrollbar-3d-light-color: #00acee;
我可以使用图片完成相同的想法吗?
Can I use an image to accomplish the same idea?
推荐答案
不可能将图像放在滚动条内。自定义滚动条不是W3C规范(仅限IE),但有关可能的详细信息可以在这里找到:
It is not possible to put an image inside the scrollbar. Customizing the scrollbar is not a W3C spec (IE only CSS), but details on what is possible can be found here:
http://www.quirksmode.org/css/scrollbars.html
这篇关于如何使用滚动条图像?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文