如何设置滚动条的样式?

2023-04-12


如何设置滚动条的样式?
Have you always wondered how all these websites customize the color of there scrollbars? Well read this mini tutorial, its easier than you think..


你曾经思考过这样的问题吗——所有的网站是如何设置滚动条的颜色的呢?当你阅读完这篇教程后,你会发现,它远比你想象的简单。


有色滚动条


Step 1
步骤1
Firstly open your page document in notepad, dreamweaver, frontpage or whatever programme you use to edit your HTML codes.
首先,用记事本(或dreamweaver、frontpage以及其它你所使用的页面编辑工具)打开页面文档,编辑里面的HTML代码;


Step 2
步骤2


Then look for your head tags, which will look like  and 


此时检查你的head标签,即: 和 ;


Step 3
步骤3
Now copy this code and put them inside your tags
现在,复制下面的代码,将它们放置在 和 标签之间;



Step 4
步骤4
Then your all done, i did say it was easy didnt i?
你已经完成了全部任务,觉得简单吗?


本文仅代表作者观点,版权归原创者所有,如需转载请在文中注明来源及作者名字。

免责声明:本文系转载编辑文章,仅作分享之用。如分享内容、图片侵犯到您的版权或非授权发布,请及时与我们联系进行审核处理或删除,您可以发送材料至邮箱:service@tojoy.com