<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Document</title>
<style>
.box {width: 200px;height: 200px;border: solid 1px red;}
.l {float: left;}
p{background: #73bcba;margin: 0;padding:0;}
</style>
</head>
<body>
<div class="box l"></div>
<div class="box"><p>123</p></div>
</body>
</html>
为什么在第一个div浮动之后,P的高度会增加而不是保持在原来相对第二个的位置?不是很理解~求指点
 fruitchan
fruitchan 
					uhelper_net
 
					赫兹1719
 
					赫兹1719
 随时随地看视频慕课网APP
随时随地看视频慕课网APP