mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-05 03:54:35 +00:00
27a7a54dc2
--HG-- extra : rebase_source : 1914dd5f2998a2f45e10ccf3574d854ba9240f52
29 lines
477 B
HTML
29 lines
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>
|