100字范文,内容丰富有趣,生活中的好帮手!
100字范文 > php对联广告 纯DIV/CSS对联漂浮广告代码(无JS)

php对联广告 纯DIV/CSS对联漂浮广告代码(无JS)

时间:2021-03-30 14:57:39

相关推荐

php对联广告 纯DIV/CSS对联漂浮广告代码(无JS)

源码网两侧漂浮。经测试,兼容IE6,IE7,Firefox浏览器。

CSS代码为:

.r1{width:80px;height:80px;background:red;float:right;

position:fixed !important; top/**/:200px;

position:absolute; z-index:300; top:expression(offsetParent.scrollTop+200);right:20px;}

.r2{width:80px;height:80px;background:red;float:right;

position:fixed !important; top/**/:300px;

position:absolute; z-index:400; top:expression(offsetParent.scrollTop+300);right:20px;}

.l1{width:80px;height:80px;background:red;float:right;

position:fixed !important; top/**/:200px;

position:absolute; z-index:300; top:expression(offsetParent.scrollTop+200);left:20px;}

.l2{width:80px;height:80px;background:red;float:right;

position:fixed !important; top/**/:300px;

position:absolute; z-index:400; top:expression(offsetParent.scrollTop+300);left:20px;}

页面代码为:

class="r1">

href="/d/adclick.php?id=11&url="

target='_about'>

height="80" border="0" />

href="/d/adclick.php?id=11&url="

target='_about'>

height="80" border="0" />

href="/d/adclick.php?id=11&url="

target='_about'>

height="80" border="0" />

href="/d/adclick.php?id=11&url="

target='_about'>

height="80" border="0" />

原创文章,转载必须注明出处!

出处:源码网,

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。