一段表格代码在火狐2.0下错位

阅读:6084回复:2
2008-07-23 21:07
写私信
楼主#
本站 http://info.haifol.com/read/147 这个页面的日志底部的250*广告和右侧的相关日志在火狐2.0下错位,跑到右侧栏去了,而在IE6和Opera9.5下浏览正常呀。代码如下,请大家帮忙下吧,谢谢~

<div id="post-adsense"><table width="558" border="0" cellspacing="0">
<tr>
<td width=48% valign="top">
<!-- Insert your adsense code for a 250x250 banner right under here -->
<script type="text/JavaScript">
alimama_pid="mm_10066162_192192_2697748";
alimama_titlecolor="0085CF";
alimama_descolor ="000000";
alimama_bgcolor="FFFFFF";
alimama_bordercolor="ffffff";
alimama_linkcolor="0085CF";
alimama_bottomcolor="FFFFFF";
alimama_anglesize="0";
alimama_bgpic="0";
alimama_icon="1";
alimama_sizecode="34";
alimama_width=250;
alimama_height=250;
alimama_type=2;
</script>
<script src="http://a.alimama.cn/inf.js" type=text/javascript>
</script></td>
<td width=52% valign="top"> <?php wp_related_posts(); ?> </td>
</tr>
</table></div>

在 style.css 加入的css代码:

#post-adsense {
list-style:none;
margin-right: auto;
margin-left: auto;
width:558px;
}
2008-07-23 21:07
写私信
1楼#
您就不用费心找Bug啦,您的这段代码在 Firefox 里面一出现就会被 ABP 秒杀。
2008-07-23 21:07
写私信
2楼#
盘儿净:您就不用费心找Bug啦,您的这段代码在 Firefox 里面一出现就会被 ABP 秒杀。回到原帖


什么意思? ABP?