ie9中的对齐问题

时间:2013-09-17 11:58:51

标签: css internet-explorer-9

这是 my website 的链接,它在firefox中看起来很不错。但在IE中的项目不在同一行中如何解决它

1 个答案:

答案 0 :(得分:2)

你的问题出在HTML中,而不是在css中,你在底部有两个额外的结束div为每个&item;包含内容'

    <form method='post' name='form124' id='form124' action='/app/site/backend/additemtocart.nl?c=3563610&amp;n=1' onsubmit="return checkmandatory124();">


    <div class="item_container span3">
    <a href="/s.nl/c.3563610/it.A/id.124/.f" class='lnk13b-blackOff'; onMouseover="this.className='lnk13b-blackOff'; return true;" onMouseout="this.className='lnk13b-blackOff'; return true;">iPhone 5</a>
    <div class="heading_price">
    <span class="price">Price: 
    <span id=itemprice124>?.?.?2?444?00 &#150; 3,649.00 SAR</span>   
    </span>
    </div>
    <div class="itemlist-img">
    <a href="/s.nl/c.3563610/it.A/id.124/.f">
    <a href='/s.nl/c.3563610/it.A/id.124/.f'>
    <img src='/core/media/media.nl?id=959&amp;c=3563610&amp;h=b417dd449e62d8ecd270&amp;resizeid=-1&amp;resizeh=214&amp;resizew=160' border='0' alt='Item Images13.jpg' title='Item Images13.jpg'></a></a>
    </div><div><p class="item_desc">Sed ut perspiciatis unde omnis iste natus error sit voluptatem</p></div>
    <div class="cart_details"><a href="/s.nl/c.3563610/it.A/id.124/.f" class="view_item" onMouseover="this.className='view_item'; return true;" onMouseout="this.className='view_item'; return true;"> VIEW DETAILS</a>
    <span class="cart_btn"><a href="#inline_content"  class='inline'>ADD TO CART</a></span>
    </div></div>

<--- this --->
    **</div></div>**
<------------>
    </form>