让div产生滚动条

 .demo{
     padding-right:10px;
     overflow-y:auto;
     padding-left:10px;
     scrollbar-face-color:#ffffff;
     font-size:11pt;
     padding-bottom:0px;
     scrollbar-highlight-color:#ffffff;
     overflow:auto;
     width:510px;
     scrollbar-shadow-color:#919192;
     color:blue;
     scrollbar-3dlight-color:#ffffff;
     line-height:100%;
     scrollbar-arrow-color:#919192;
     padding-top:0px;scrollbar-track-color:#ffffff;
     font-family:宋体;
     scrollbar-darkshadow-color:#ffffff;
     letter-spacing:1pt;
     height:200px;
     text-align:left;
 }

 <div class='demo'></div>

 滚动条相关颜色属性:

   face-color:滑块颜色

   hightlight-color:高亮颜色

   3dlight-color:三维光线颜色

   darkshadow-color:暗影颜色

   shadow-color:阴影颜色

   arrow-color:箭头颜色

   tack-color:滑道颜色

   

   滚动条属性:

   overflow:auto为自动,yes为有,no为无

   overflow-x:横向滚动条

   overflow-y:纵向滚动条
上一篇:关于Java 里的String和对象


下一篇:【转载】scribe、chukwa、kafka、flume日志系统对比