当显示来自第三方的 Flash 横幅时,它们与我的代码重叠:
测试网址为:http ://test.otwierac.pl/ (多次刷新页面即可看到)
代码是:
<div style="width:100%">
<div id="banner">
<script>
<!--
var d = new Date();
r = escape(d.getTime()*Math.random());
document.writeln('<script src="http://tracking.novem.pl/rotator/CD31115/59&js=1&r='+r+'&keyword="><\/script>');
//-->
</script><div id='beacon_1' style='position: absolute; left: 0px; top: 0px; visibility: hidden;'><img src='http://test.otwierac.pl/reklamy/www/delivery/lg.php?bannerid=1&campaignid=1&zoneid=0&loc=http%3A%2F%2Fwww.test.otwierac.pl%2F&referer=http%3A%2F%2Ftest.otwierac.pl%2F&cb=6d0002d6e4' width='0' height='0' alt='' style='width: 0px; height: 0px;' /></div>
</div>
</div>
CSS 代码:
#banner
{
margin-top:10px;
width:950px;
margin:0 auto;
text-align:center;
}
如何解决这个问题?横幅应居中且不与我的文字重叠。