pjs/layout/reftests/margin-collapsing/block-float-2a.html

30 строки
364 B
HTML

<!DOCTYPE html>
<html>
<head>
<style type="text/css">
#a {
height: 20px;
background-color: green;
}
#b {
float: left;
width: 50px;
background-color: blue;
margin-top: 20px;
}
#b div {
height: 20px;
background-color: red;
margin-top: 40px;
margin-bottom: 40px;
}
</style>
</head>
<body>
<div id="a"></div>
<div id="b">
<div></div>
</div>
</body>
</html>