最佳答案
我有这个问题,我有两个 div:
<div style="width:100%; height:50px;" id="div1"></div>
<div style="width:100%;" id="div2"></div>
如何使 div2占据页面的剩余高度?