.container { position: relative; }
.header { height: 200px; }
.middle { position: absolute; top: 200px; bottom: 200px; width: 100%; }
.footer { height: 200px; }.header { position: absolute; top: 0; width: 100%; height: 200px; }
.footer { position: absolute; bottom: 0; width: 100%; height: 200px; }.moddle {
_height: expression(this.parentNode.offsetHeight - (this.previousSibling.offsetHeight + this.nextSibling.offsetHeight) + 'px');
}<style type="text/css">
<!--
body {margin:0px; padding:0px; backgorund-color:#fff; height:100%; color:#fff;}
.h {width:200px; height:200px; background-color:#555; margin:0px;}
.m {width:200px; height:100%; margin:0 0 0 0; background-color:#000;}
.f {width:200px; height:200px; background-color:#555; position: absolute; bottom: 0px;}
-->
</style>
</head>
<body>
<div class="m">
<div class="h"></div>
<div>
あああああ。
</div>
<div class="f"></div>
</div>
</body>
</html>