2009-04-25 12:50:57 +04:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<style type="text/css">
|
|
|
|
#a {
|
|
|
|
width: 200px;
|
|
|
|
background-color: green;
|
|
|
|
}
|
|
|
|
#b, #c {
|
|
|
|
display: inline-block;
|
2009-09-23 18:55:55 +04:00
|
|
|
height: 2em; width: 200px;
|
2009-04-25 12:50:57 +04:00
|
|
|
background-color: blue;
|
|
|
|
vertical-align: bottom;
|
|
|
|
}
|
|
|
|
#b {
|
2009-09-23 18:55:55 +04:00
|
|
|
margin-bottom: 1em;
|
2009-04-25 12:50:57 +04:00
|
|
|
}
|
|
|
|
#c {
|
2009-09-23 18:55:55 +04:00
|
|
|
margin-top: 1em;
|
2009-04-25 12:50:57 +04:00
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div id="a">
|
|
|
|
<div id="b"></div>
|
|
|
|
<div id="c"></div>
|
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|