在 IE7 中,我的订单示例按钮“#itmSampl”未与其左侧的“.add-to-cart”按钮垂直对齐,尽管在 FF3.6 和 Chrome 5 中是这样。我需要它在 IE6-8 中正确对齐。有谁看到我错过了什么?
<style type="text/css">
#buttonbox { position:relative; width:326px; }
#accounting #box-accounting .image-item .content-account .add-to-cart { clear:both; margin:0 0 10px; }
#accounting #box-accounting .image-item .content-account
#ordrWizrd { float:left; height:24px; width:111px; }
#accounting #box-accounting .image-item .content-account .add-to-cart { clear:both; margin:0 0 10px; }
#itmSampl { bottom:0; cursor:pointer; display:block; height:24px; margin:0 3px 2px; position:absolute; right:0; width:120px; } .clearfix { clear:both; height:0; } </style>
<div id="buttonbox">
<div id="addtocart2" class="add-to-cart">
<table><%=getCurrentAttribute('item','addtocarthtml')%></table>
</div>
<div id="ordrWizrd" class="add-to-cart"><a href="javascript:shwWizd()"><img src="/images/img/add-to-cart.gif" alt="configure item"></a></div>
<div id="itmSampl"></div>
</div> <div class="clearfix"></div> </div>
此外,如果视觉有帮助,这里是测试页面(您必须登录才能看到按钮而不是项目符号列表):http ://www.avaline.com/85W_test_2 Login:test2@gmail.com Pass:test03