div添加滚动条

html页面


<div id="calm" class="pop-box-cal" style="border: solid 1px #6e8bde;">
	
</div>

css

@charset='utf-8';
#greybackground {
	background: #5E5E5E;
	display: block;
	z-index: 100;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
}

.pop-box {
	z-index: 9999; /*这个数值要足够大,才能够显示在最上层*/
	margin-bottom: 3px;
	display: none;
	position: absolute;
	background: #FFF;
	border: solid 1px #6e8bde;
}

.divShouTesth4 {
	color: #FFF;
	cursor: default;
	height: 18px;
	font-size: 14px;
	font-weight: bold;
	text-align: left;
	padding-left: 8px;
	padding-top: 4px;
	padding-bottom: 2px;
	background: #526DBE;
	margin-top: 0px;
}

.pop-box-body {
	height: 170px;
	clear: both;
	margin: 4px;
	padding: 2px;
	overflow-x: auto;
	overflow-y: auto;
	/*   滚动条相关的颜色属性 */
	scrollBar-face-color: #e4e4e4; /* 滑块 */
	scrollBar-3dLight-color: #e4e4e4; /* 3维光线 */
	scrollBar-darkshadow-color: #e4e4e4; /* 暗影    */
	scrollBar-shadow-color: #e4e4e4; /* 阴影   */ scrollBar-arrow-color :
	bule; /* 箭头 */
	scrollBar-base-color: #fff;
	scrollBar-arrow-color: bule; /* 主要颜色 */
}
.pop-box-cal {
	height: 300px;
	clear: both;
	margin: 4px;
	padding: 2px;
	overflow-x:display;
	overflow-y: auto;
	/*   滚动条相关的颜色属性 */
	scrollBar-face-color: #e4e4e4; /* 滑块 */
	scrollBar-3dLight-color: #e4e4e4; /* 3维光线 */
	scrollBar-darkshadow-color: #e4e4e4; /* 暗影    */
	scrollBar-shadow-color: #e4e4e4; /* 阴影   */ scrollBar-arrow-color :
	bule; /* 箭头 */
	scrollBar-base-color: #fff;
	scrollBar-arrow-color: bule; /* 主要颜色 */
}





评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值