如何設(shè)置滾動條的樣式?
如何設(shè)置滾動條的樣式?
Have you always wondered how all these websites customize the color of there scrollbars? Well read this mini tutorial, its easier than you think..
你曾經(jīng)思考過這樣的問題嗎——所有的網(wǎng)站是如何設(shè)置滾動條的顏色的呢?當(dāng)你閱讀完這篇教程后,你會發(fā)現(xiàn),它遠比你想象的簡單。
有色滾動條
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
現(xiàn)在,復(fù)制下面的代碼,將它們放置在 和 標簽之間;
Step 4
步驟4
Then your all done, i did say it was easy didnt i?
你已經(jīng)完成了全部任務(wù),覺得簡單嗎?
本文僅代表作者觀點,版權(quán)歸原創(chuàng)者所有,如需轉(zhuǎn)載請在文中注明來源及作者名字。
免責(zé)聲明:本文系轉(zhuǎn)載編輯文章,僅作分享之用。如分享內(nèi)容、圖片侵犯到您的版權(quán)或非授權(quán)發(fā)布,請及時與我們聯(lián)系進行審核處理或刪除,您可以發(fā)送材料至郵箱:service@tojoy.com





