gecko-dev/layout/reftests/margin-collapsing/block-abs-pos-2.html

25 строки
316 B
HTML

<!DOCTYPE html>
<html>
<head>
<style type="text/css">
#a {
background-color: green;
width: 200px;
position: absolute;
top: 20px; left: 20px;
}
#b {
background-color: blue;
margin-top: 40px;
margin-bottom: 40px;
height: 100px;
}
</style>
</head>
<body>
<div id="a">
<div id="b"></div>
</div>
</body>
</html>