floatad

<style>

#floatad{ position: fixed; bottom:30px; right:0; display:block; z-index:10; height:143px; width:129px;}

* html { background-image:url(about:blank); background-attachment:fixed; }

* html #floatad { position:absolute; top:expression(eval(document.documentElement.scrollTop+document.documentElement.clientHeight-this.offsetHeight-(parseInt(this.currentStyle.bottom,10)||0)-(parseInt(this.currentStyle.marginTop,10)||0)-(parseInt(this.currentStyle.marginBottom,10)||0))); }

#floatad a.flagad{

cursor:pointer;

height:143px; 

width:129px;

display:block;

background:url(http://img02.taobaocdn.com/tps/i2/T13PamXnJUXXXXXXXX-129-143.png) no-repeat left top;

_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled="true",sizingmethod="crop",src="http://img02.taobaocdn.com/tps/i2/T13PamXnJUXXXXXXXX-129-143.png");

_background:none;

}

 

</style>

<div id="floatad">

<a href="http://taohua.tmall.com" target="_blank" class="flagad" title="活动中心"> </a>

</div>

posted @ 2011-09-07 14:26  kpbiao  阅读(257)  评论(0编辑  收藏  举报