日期:2014-05-16 浏览次数:20614 次
<html>
<head>
<style>
.set_bottom{ width:100%; height:200px; background-color:#49494A; display:block; text-align:center; color:#FFF; font-size:14px; font-family:Verdana, Geneva, sans-serif; position:fixed; bottom:0px; left:0px; _position:absolute; _top:expression(eval(document.documentElement.scrollTop + document.documentElement.clientHeight - 100) + "px"); z-index:999999; filter:alpha(opacity=80); -moz-opacity:0.8; -khtml-opacity: 0.8; opacity: 0.8;}
#main{
width:300px;
height:300px;
background:green;
position:relative;
}
ul {
margin: 0px;
padding: 0px;
position:absolute;
right:5px;
background:white;
z-index:1999999;
}
img{
width:100%;
height:100%;/*图片自适应*/
}
li .now{color:red}
li{list-style:none;float:left;border:1px solid black;color:black;padding:0 10px;}
.pa{position:absolute;height:20px}
</style>
</head>
<div id="main">
<img src="http://img.bbs.csdn.net/upload/201310/20/1382240053_48052.png"/>
<div class="set_bottom pa">
<ul id="list" >
<li class="now">1</li>
<li>2</li>
<li>3</li>
<li>4</li>
</ul>
</div>
</div>
</html>