gecko-dev/layout/reftests/margin-collapsing/inline-block-sibling-1b.html

30 строки
370 B
HTML

<!DOCTYPE html>
<html>
<head>
<style type="text/css">
#a {
width: 200px;
background-color: green;
}
#b, #c {
display: inline-block;
height: 20px; width: 200px;
background-color: blue;
vertical-align: bottom;
}
#b {
margin-bottom: 15px;
}
#c {
margin-top: 5px;
}
</style>
</head>
<body>
<div id="a">
<div id="b"></div>
<div id="c"></div>
</div>
</body>
</html>