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

30 строки
368 B
HTML

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