定义CSS:
.qqchange
{
float:right;
}
.qqche
{
background:url(/img/system/qht.png) no-repeat left center;
width:40px;
height:36px;
line-height:36px;
float:left;
cursor:pointer;
position:fixed;
bottom:0;
right:10px;
}
html文件:
<div class="qqchange">
<span class="qqche"></span>
</div>
主要依靠position:fixed决定。