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

30 строки
365 B
HTML

<!DOCTYPE html>
<html>
<head>
<style type="text/css">
#a {
height: 20px;
background-color: green;
}
#b {
float: right;
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>