html div 切割 上下左右 四个div

.box{
	width:1200px;
	height:100%;
	min-height:550px;
	border: 1px solid #c0c0c0;
}

/**box上*/
.box-top{
	margin: 0 auto;
   	width: auto;
   	height:100%;
   	min-height:80px;
   	border: 1px solid #c0c0c0;
   	margin-top: 5px;
	margin-left: 10px;
	margin-right: 10px;
	text-align:center;
	padding:12px;
}
/**box中*/
.box-center{
	margin: 0 auto;
	width: auto;
	height: 100%;
	min-height:400px;
	border: 1px solid #c0c0c0;
	margin-top: 10px;
	margin-left: 10px;
	margin-right: 10px;
	margin-bottom:5px;
	text-align:center;
	padding:12px;
	/* white-space:nowrap;*字体不允许换行 */
}


/**box上左*/
.box-top-left{
	width:300px;
	height:100%;
	min-height:60px;
	float: left;
	text-align:center;
	padding:10px;
	border: 1px solid #c0c0c0;
	/* border-right: 1px solid #c0c0c0; */
}
/**box上右*/
.box-top-right{
	width:800px;
	height:100%;
	min-height:60px;
	float: left;
	text-align:center;
	margin-left:5px;
	padding:10px;
	border: 1px solid #c0c0c0;
}



/**box上左*/
.box-center-left{
	width:300px;
	height:100%;
	min-height:380px;
	float: left;
	text-align:center;
	padding:10px;
	border: 1px solid #c0c0c0;
	/* border-right: 1px solid #c0c0c0; */
}
/**box上右*/
.box-center-right{
	width:800px;
	height:100%;
	min-height:380px;
	float: left;
	text-align:center;
	margin-left:5px;
	padding:10px;
	border: 1px solid #c0c0c0;
	overflow:scroll;
}
</span>



<div class="box">
			<div class="box-top">
				<div class="box-top-left">a</div>
				<div class="box-top-right">b</div>
			</div>
			<div class="box-center">
				<div class="box-center-left">c</div>
				<div class="box-center-right">
					<table class="center-box">
						<thead></thead>
						<tbody></tbody>
					</table>
				</div>
			</div>
		
		</div>


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值