我是网站设计的初学者。我想要一个动态的内容高度。所以我做这样的事情:
<div style="position:relative;width:100%;height:100%;" id="content">
....
</div>
<div style="position:relative;width:2000px;height:498px;">
<?php include('footer.php'); ?>
</div>
但是页脚的 div 不检测内容的高度。我应该怎么办?谢谢。