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

25 строки
318 B
HTML

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