<!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>
<title>无标题页</title>
<style type="text/css">
#father
{
margin:100px auto;
width:300px;
height:300px;
border:1px solid red;
position:relative;
}
#child
{
width:100%;
height:20%;
background-color:Silver;
position:absolute;
bottom:0px;
left:0px;
}
</style>
</head>
<body>
<div id="father">
father
<div id="child">固定于father底部
</div>
</div>
</body>
</html>