61,112
社区成员
发帖
与我相关
我的任务
分享
<html>
<head>
<style type="text/css">
#header{...}
#center{min-height:500px; _height:500px;}
#footer{....}
</style>
</head>
<body>
<div id="header"></div>
<div id="center"></div>
<div id="footer"></div>
<body>
</html>
<style type="text/css">
/*<![CDATA[*/
div {
width:200px;
height:auto!important;
height:200px;
min-height:200px;
border:1px solid green;
}
/*]]>*/
</style>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
</head>
<body style="margin:0;">
<div style="width:1003px; margin-left:auto; margin-left:auto; min-height:500px;_height:500px; background-color:#F00;">
</div>
</body>
</html>