2011-10-03 44 views
0

我不能使一個溢出正確工作的分區..幻燈片放映和溢出

與溢出div內的表具有相同的寬度作爲div ?!

http://jsfiddle.net/bRbyr/

div.slideshow_inner { 
    margin:12px 20px 0px 15px; 
    width:340px; 
    height:440px; 
    overflow:hidden; 
    background:blue; 
} 

#slideshow_film > tbody > tr > td { 
    width:340px; 
    background:red; 
} 

<div class="slideshow_inner"> 
    <table id="slideshow_film"> 
     <tr> 
      <td>PIC 1</td> 
      <td>PIC 2</td> 
     </tr> 
    </table> 
</div> 
+0

這裏有什麼問題嗎? –

+0

你想要達到什麼目的? –

+0

div與每個td都相同,但所有td的寬度都相同。 – clarkk

回答