样式失效
BODY
{
background: #799ae1;
margin: 0px;
font: 9pt 宋体;
scrollbar-face-color:#799ae1;
scrollbar-highlight-color: #799ae1;
scrollbar-shadow-color: #799ae1;
scrollbar-3dlight-color: #799ae1;
scrollbar-arrow-color: #ffffff;
scrollbar-track-color: #aabfec;
scrollbar-darkshadow-color: #799ae1;
}
为什么aspx页面的滚动版权法没有改变颜色呢
------解决方案--------------------只有IE支持,另外不同的DTD写法不同
下面的可以满足任意 DTD
html,body
{
background: #799ae1;
margin: 0px;
font: 9pt 宋体;
scrollbar-face-color:#799ae1;
scrollbar-highlight-color: #799ae1;
scrollbar-shadow-color: #799ae1;
scrollbar-3dlight-color: #799ae1;
scrollbar-arrow-color: #ffffff;
scrollbar-track-color: #aabfec;
scrollbar-darkshadow-color: #799ae1;
}