<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@ taglib prefix="test" uri="http://com.haso/taglib" %> <%@ taglib prefix="struts" uri="http://struts.apache.org/tags-bean" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <mce:style><!-- .divDrag{ width: 100px; height: 200px; overflow-x: auto; overflow-y: hidden; border: 1px solid gray; /*两边箭头按钮的颜色*/ scrollbar-arrow-color:yellow; /*滚动条基色*/ scrollbar-base-color:lightsalmon; /*滚动条最外面一圈的颜色*/ /*scrollbar-3dlight-color:#ff0000;*/ /*下立体阴影*/ /*scrollbar-darkshadow-color:#b70000;*/. /*上立体阴影*/ /*scrollbar-highlight-color:#b70000;*/ /*最外面一层颜色*/ /*scrollbar-face-color:#b70000;*/ /*scrollbar-shadow-color:#ff0000;*/ } --></mce:style><style mce_bogus="1"> .divDrag{ width: 100px; height: 200px; overflow-x: auto; overflow-y: hidden; border: 1px solid gray; /*两边箭头按钮的颜色*/ scrollbar-arrow-color:yellow; /*滚动条基色*/ scrollbar-base-color:lightsalmon; /*滚动条最外面一圈的颜色*/ /*scrollbar-3dlight-color:#ff0000;*/ /*下立体阴影*/ /*scrollbar-darkshadow-color:#b70000;*/. /*上立体阴影*/ /*scrollbar-highlight-color:#b70000;*/ /*最外面一层颜色*/ /*scrollbar-face-color:#b70000;*/ /*scrollbar-shadow-color:#ff0000;*/ }</style> <title></title> </head> <body> <center> <div class="divDrag"> <label>aaaaaaaaaaaabbbbbbbbbbbbbbb</label> <br/> <label>aaaaaaaaaaaabbbbbbbbbbbbbbb</label> <br/> <label>aaaaaaaaaaaabbbbbbbbbbbbbbb</label> <br/> <label>aaaaaaaaaaaabbbbbbbbbbbbbbb</label> <br/> <label>aaaaaaaaaaaabbbbbbbbbbbbbbb</label> <br/> </div> </center> </body> </html>