jsp设置footer底部内容

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf8" />
<title>demo</title>
<style type="text/css">
     
    body {
        margin: 0;
    }
     
    #main{
        height: 1000px;
    }
     
    #footer {
        background: #00A2EA;
        width: 100%;
        height: 50px;
        position: fixed;
        bottom: 0;
    }
     
</style>
</head>
<body>
     
    <div id="main"></div>
     
    <div id="footer">
     
    </div>
</body>
</html>

  

posted @ 2016-03-23 11:15  wujixing909  阅读(1397)  评论(0编辑  收藏  举报