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

26 строки
359 B
HTML

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