IE7 div位置绝对不正确

时间:2011-10-11 17:54:09

标签: css html

我在下面的代码中遇到问题,因为div没有放在IE 7或更低版​​本的正确位置,但是其他任何浏览器都运行良好

<div class="headericon" style="bottom:44px; position:absolute; right:12px; float:right;">
              <ul style="margin:auto;"><li style="display:inline; list-style:none;"> 
              <img src="http://**/images/truste.jpeg"  width="90"  height="35" border="0" 
                   title="Merchant Cash Advance | Merchant Cash Advance" alt="Merchant Cash Advance | Merchant Cash Advance" /></li>
                   <li style="display:inline; list-style:none;">
                     <img src="http://**/images/national.jpg"  width="80"  height="44" border="0" 
                   title="Merchant Cash Advance | Merchant Cash Advance" alt="Merchant Cash Advance | Merchant Cash Advance" /></li>
                   <li style="display:inline; list-style:none;">
                   <img src="http://**/images/electronic.jpeg"  width="90"  height="44" border="0" 
                   title="Merchant Cash Advance | Merchant Cash Advance" alt="Merchant Cash Advance | Merchant Cash Advance" /></li>

                   </ul></div>

1 个答案:

答案 0 :(得分:0)

您正在使用positionfloat

<div class="headericon" style="bottom:44px; position:absolute; 
     right:12px; float:right;">

IE7可能会对此感到窒息。