标签:
1.overFlow:
visible却省值,没有DIV滚动条,根据内容自动扩撑区域的大小,即定义的区域无效
scroll总是显示滚动条
hidden没有滚动条,超出区域的内容不可见
auto根据内容自动判断是否添加滚动条
2.DIV滚动条颜色属性:
face-color:滑块颜色
hightlight-color:高亮颜色
3dlight-color:三维光线颜色
darkshadow-color:暗影颜色
shadow-color:阴影颜色
arrow-color:箭头颜色
track-color:滑道颜色
base-color:DIV滚动条的主要颜色,其中包含滚动按钮和滚动滑块
3.overFlow-x overFlow-y
visible却省值,没有DIV滚动条,根据内容自动扩撑区域的大小,即定义的区域无效
scroll总是显示滚动条
hidden没有DIV滚动条,超出区域的内容不可见
auto根据内容自动判断是否添加滚动条
<styletylestyletyle="text/css">.testDiv{ border-style:solid; border-width:50px; border-color:pink; position:absolute; top:200px; left:300px; height:200px; width:300px; overFlow-x:scroll; overFlow-y:hidden; scrollBar-face-color:green; scrollBar-hightLight-color:red; scrollBar-3dLight-color:orange; scrollBar-darkshadow-color:blue; scrollBar-shadow-color:yellow; scrollBar-arrow-color:purple; scrollBar-track-color:black; scrollBar-base-color:pink; } </style>
标签:
原文地址:http://www.cnblogs.com/cnchenjunbiao/p/4479030.html