ie和火狐兼容问题!!!!!
<div class="center_bigpic_r_tuan"><div style="width:221px;">
<div><A id="huo003" style="width:110px; height:30px; background:#fffae9;border-bottom:1px solid #e6e5ea; border-right:1px solid #e6e5ea; display:block; float:left; color:#000; line-height:30px; text-align:center; font-size:14px; font-weight:800; text-decoration:none;" onmouseover="selectTag('tagContent0','huo003')" href="/GroupBuyProducts.aspx">每周团购</A> <A id="huo004" style="width:110px; height:30px; background:#ffffff; display:block; float:left; color:#000; border-bottom:1px solid #e6e5ea; line-height:30px; text-align:center; font-size:14px; font-weight:800; text-decoration:none;" onmouseover="selectTag('tagContent1','huo004')" href="/CountDownProducts.aspx">今日秒杀</A> </div>
<DIV style="display:block; overflow:hidden; width:210px; height:220px; margin-left:6px;" id=tagContent0>
团购
</DIV>
<DIV style="display:none; overflow:hidden; width:210px; height:220px; margin-left:6px;" id=tagContent1>
秒杀
</DIV>
</div>
<SCRIPT type=text/javascript>
function selectTag(showContent,selfObj){
document.getElementById("tagContent0").style.display = "none";
document.getElementById("tagContent1").style.display = "none";
document.getElementById("huo003").style.background = "#ffffff";
document.getElementById("huo004").style.background = "#ffffff";
document.getElementById(selfObj).style.background = "#fffae9";
document.getElementById(showContent).style.display = "block";}
</SCRIPT>
</div>
</div>
</div>
这个在ie和火狐上浏览的效果怎不一样呢谢谢
页:
[1]