您的位置:首页 > 其它

banner固定在浏览器窗口的底部

2012-09-04 17:06 183 查看
<!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>
<style type="text/css">
<!--
.content{ width:1004px; height:2000px;}
#bottomNav { width:100%; height:198px; margin:0px auto; display: inline;position:fixed;bottom:0;left:0; _position:absolute; /* for IE6 */_font-size:0px;
_top: expression(documentElement.scrollTop + documentElement.clientHeight-this.offsetHeight); /* for IE6 */
overflow:visible; z-index:999;}
.imgContent{ width:1004px; height:198px; margin:0px auto;}
-->
</style>
</head>

<body>

<div class="content">
阿萨德撒打算撒
</div>
<div id="bottomNav">
<div class="imgContent">
<img src="bottom_bar.png" width="1004" height="198" alt="斯蒂芬森的" />
</div>
</div>
</body>
</html>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: