您的位置:首页 > Web前端 > JavaScript

jsp设置footer底部内容

2016-03-23 11:15 531 查看
<!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>


  
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: