【发布时间】:2010-04-08 00:11:45
【问题描述】:
假设我有一个这样的 html 订单
<div id="header">>Header(logo, navigation menus etc)will be here, fixed height </div>
<div id="content"> Dynamic content with different length will be here. </div>
<div id="footer"> Footer of the page here, fixed height </div>
现在您可以看到,只有内容 div 的大小会随着长度的变化而变化。即使内容的高度小于填充整个内容,我也想确保使用屏幕。 (换句话说,内容的最小高度将是屏幕(height of the screen in pixel) - ( (height of header) + (height of footer) )
现在可以看到 min-widht 可以使用,但是 IE 不支持,我该如何解决这个问题?
【问题讨论】:
标签: javascript html css