<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>设置div最小高度及高度自动伸展的实例</title>
<style>
.divHeight{height:400px;height:auto;min-height:500px;width:800px; background:#bbeeeb;margin:0 auto;}
</style>
</head>
<body>
<div class="divHeight">
此div具有最小高度且高度可以随着内容的增高而自动伸展
</div>
</body>
</html>