次のDIV構造を検討してください。
<style>
#content{float:left;width:100%;}
#overlay{position:absolute;z-index:100;}
</style>
<body>
<div id="header">header</div>
<div id="overlayBox">
<div id="overlay">
I want to overlay #content.
If my height is greater than
#content, I don't want to
spill onto other elements.
I want to push them away.
</div>
</div>
<div id="content">content</div>
<div id="footer">footer</div>
</body>
この例では、次のことを行います。
高さがより高くなった場合は押し#header
て#footer
離します#overlay
#content
このDIV構造が完全に間違っている場合でも、必要性を説明するためにのみ使用されています。
これは私が抱えている問題の良い例です:http: //jsfiddle.net/Udqkc/