日期:2014-05-17  浏览次数:20781 次

浮动广告导致页面可以无限下拉,请帮忙
代码如下:
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<TITLE>adas</TITLE>
<meta http-equiv="content-type" content="text/html;charset=gb2312">
<!--右下角广告用style-->
<style type="text/css">
img{border:0px;}
#haoetv{position:fixed!important;position:absolute;right:0;bottom:0;top:expression(offsetParent.scrollTop+offsetParent.clientHeight-160);cursor:pointer;}
#close{position:fixed!important;position:absolute;right:0;bottom:0;top:expression(offsetParent.scrollTop+offsetParent.clientHeight-160);cursor:pointer;}
</style>
</head>
<BODY>
<div id="haoetv" style="width:200px;height:160px;z-index:99;text-align:right">
<div>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" border="0px" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="200" height="160" title="暑假青少年口才培训班">
<param name="movie" value="http://www.tzknj.cn/UploadFiles/2012/05/2012517143912316.swf" />
<param name="quality" value="high" />
<param name="wmode" value="transparent">
<embed src="http://www.tzknj.cn/UploadFiles/2012/05/2012517143912316.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="200" height="160" ></embed>
</object>
</div>
<div style="z-index:199;float:right;margin:0px 0px 0 0;">
<img id="close" src="http://www.tzknj.cn/images/ButtonAd.gif" onClick="window.open('http://www.tzknj.cn/cls_qsnkc.htm');">
</div>
<div id="close" style="z-index:999;float:right;margin:3px 3px 0 0;height:157px;">
<img src="http://www.tzknj.cn/images/btn_close.gif" onClick="this.parentNode.parentNode.style.display='none';">
</div>
</div></BODY></HTML></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>

------解决方案--------------------
换个浏览器。或者你是神马浏览器啊,我的chrome和ie8正常