2012-07-17 71 views

回答

2
<div class="trading-img-box"> 
<a href = "javascript:void(0)" onclick = "document.getElementById('trading6').style.display='block';document.getElementById('body-below-otherpage-small-trading').style.display='none'"> 
<img class="trading-img" src="img/trading6.png"> 
**<a>** 
<h1 class="trading-h1">Marble</h1> 
<p class="trading-p">We set ourselves at the..</p> 
</div> 

在這個框中你不關閉你的錨標記。

還補充:

<p style="height:0; clear:both;"></p> 

,以確保你的背景包裝得當,你可以添加溢出:汽車代替。但是我遇到了歌劇中的問題,有時候會強制滾動。

+1

謝謝!解決了!!! – 2012-07-17 09:53:44

0

認沽溢出:汽車上的元素#身體低於otherpage小買賣

1

是由於發生在未關閉錨<a>標籤在交易-IMG-箱<div>有信息關於Marble

<div class="trading-img-box"> 
    <a href = "javascript:void(0)" onclick = "document.getElementById('trading6').style.display='block';document.getElementById('body- below-otherpage-small-trading').style.display='none'"> 
     <img class="trading-img" src="img/trading6.png"> 
    <a> <<<<<< ------ Unclosed Anchor Tag 
    <h1 class="trading-h1">Marble</h1> 
    <p class="trading-p">We set ourselves at the..</p> 
</div>