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

30 строки
366 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;
padding-top: 40px;
padding-bottom: 40px;
}
#b div {
height: 20px;
background-color: red;
}
</style>
</head>
<body>
<div id="a"></div>
<div id="b">
<div></div>
</div>
</body>
</html>