例如
<div id="parent1" style="height:100%;width:100%">
<div id="son1" style="height:150px;width:100%">
</div>
<div id="son2" style="">
</div>
</div>
son2的style该如何设置,高度为parent1-son1的高度
你要做自适应,当然用AUTO,,当然,你又想内容太少的时候,指定它一个高度,就可以用min-height这个是最小高度的意思,意思就是,如果容器没有达到这个高度就按这个高度,超过这个高度,就按height。。。。还有MAX-HEIGHT,这是最大高度,限制高度的作用。。。