问题:如何在样式表中区分不同的IE版本?如何使兼容IE8与IE10的滚动条颜色?
body { vertical-align:top; background-color:#FFFFFF; margin:0px 0px 0px 0px; color:#000000; font-size:12px; font-family:Verdana, Arial, Helvetica, sans-serif; scrollbar-3dlight-color :#DEE7F8; scrollbar-highlight-color :#DEE7F8; scrollbar-face-color : #DEE7F8; scrollbar-arrow-color : threedhighlight; scrollbar-shadow-color :#DEE7F8; scrollbar-darkshadow-color :#DEE7F8; scrollbar-base-color : #BFD5FF; scrollbar-track-color :threedhighlight; }
怎样兼容IE10与IE8, 多谢了!
解决方法:
改写CSS为
html,body { vertical-align:top; background-color:#FFFFFF; margin:0px 0px 0px 0px; color:#000000; font-size:12px; font-family:Verdana, Arial, Helvetica, sans-serif; scrollbar-3dlight-color :#DEE7F8; scrollbar-highlight-color :#DEE7F8; scrollbar-face-color : #DEE7F8; scrollbar-arrow-color : threedhighlight; scrollbar-shadow-color :#DEE7F8; scrollbar-darkshadow-color :#DEE7F8; scrollbar-base-color : #BFD5FF; scrollbar-track-color :threedhighlight; }
以上就是如何使兼容IE8与IE10的滚动条颜色?的详细内容,更多请关注php中文网其它相关文章!
相关文章: