зеркало из https://github.com/mozilla/gecko-dev.git
29 строки
477 B
HTML
29 строки
477 B
HTML
<!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>
|