当第一个样表有内容时,怎么使嵌套的样表置顶

5698f9ad0001f1cc05000270.jpg

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>三列布局</title>
<style type="text/css">
body{ margin:0; padding:0; font-size:30px; font-weight:bold}
div{ line-height:50px;}
.top{height:100px;background:#ccc;}
.head{width:200px; height:100px;background:black;margin:0 auto}
.meddile{ width:500px; height:400px; background:#ddd;margin:10px auto}
.left{width:200px;height:400px;background:blue;float:left}
.right{width:300px;height:400px;background:#dac;float:right}
.sob_1{width:100px;height:400px;background:green;float:left}
.sob_2{width:200px;height:400px;background:black;float:right}
.bettom{width:500px;height:200px;background:#FCC;margin:10px auto; border:2px  solid  red;}
</style>
</head>

<body>
    
    <div class="top">
		<div class="head"></div></div>
	<div class="meddile">
		<div class="left"></div>
		<div class="right">
			<div class="sob_1"></div>
			<div class="sob_2"></div>
		</div>
	</div>
    <div class="bettom">bettom</div>
</body>
</html>


牛一样的大叔
浏览 1232回答 1
1回答

qq_安伊偌拉_0

问题描述不清楚
打开App,查看更多内容
随时随地看视频慕课网APP