在谷歌浏览器中(我认为是firefox?)页面正确呈现
但在IE中,该页面似乎是“透明的”,请参阅This image。
<div style="margin-left:-10px;float:left;width:130px;height:30px; background-image:url('/gc_mycoinamount_display.png');">
<div id="mygoldamount" style="margin-top:7px;">5 Coins</div>
我相信这个div会导致问题,当我删除它时,页面看起来是正确的。它上面的CSS不正确吗?
答案 0 :(得分:0)
我需要关闭一个div,傻我。
<div style="margin-left:-10px;float:left;width:130px;height:30px; background-image:url('/gc_mycoinamount_display.png');">
<div id="mygoldamount" style="margin-top:7px;">5 Coins</div></div>