代码如下:
<!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>
<title>无法屏蔽的左右漂浮图片对联广告</title>
<meta http-equiv="content-type" content="text/html;charset=gb2312">
<!--把下面代码加到<head>与</head>之间-->
<style type="text/css">
.l1{
width:100px;height:100px;background:red;float:right;
position:fixed !important;top:200px;
position:absolute;z-index:300;top:expression(offsetParent.scrollTop+200);left:10px;
}
.r1{
width:100px;height:100px;background:red;float:right;
position:fixed !important;top:200px;
position:absolute;z-index:300;top:expression(offsetParent.scrollTop+200);right:10px;
}
</style>
</head>
<body>
<p align="center"></p>
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
<!--把下面代码加到<body>与</body>之间-->
<div class="l1"><a href="#" target="_blank"><img src="#" width="100" height="100" border="0"></a></div>
<div class="r1"><a href="#" target="_blank"><img src="#" width="100" height="100" border="0"></a></div>
</body>
</html>