In IE6, you cannot set the scroll bar color. In IE6, you can set the scroll bar color.
In IE6, the scroll bar color cannot be set. What should I do:
The following CSS code is used to set the scroll bar style:
Body {scrollbar-face-color: # f6f6f6; scrollbar-highlight-color: # fff; scrollbar-shadow-color: # eeeeee; scrollbar-3dlight-color: # eeeeee; scrollbar-arrow-color: #000; scrollbar-track-color: # fff; scrollbar-darkshadow-color: # fff ;}
However, IE6 does not work. The solution is to change the body to html. The modified code is as follows:
Html {scrollbar-face-color: # f6f6f6; scrollbar-highlight-color: # fff; scrollbar-shadow-color: # eeeeee; scrollbar-3dlight-color: # eeeeee; scrollbar-arrow-color: #000; scrollbar-track-color: # fff; scrollbar-darkshadow-color: # fff ;}
Original address: http://www.51texiao.cn/div_cssjiaocheng/2015/0429/421.html