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

29 lines
477 B
HTML
Raw Normal View History

<!DOCTYPE html>
<html>
<head>
<!-- specifying all heights in em units so that large font sizes
don't disrupt relationships; everything will scale together -->
<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: 2em;
}
</style>
</head>
<body>
<div id="a">
<div id="b"></div>
<div id="c"></div>
</div>
</body>
</html>