2016-06-08 34 views
-1

裏面我想表之間移除空間,我的繼承人代碼刪除間隔表的表

<table class="table table-striped-column" border="2" style="border-color: #0082AD"> 
       <tr> 
        <th>Icon</th> 
        <th style="width:65%; text-align:left">Football Forums</th> 
        <th>Topics</th> 
        <th>Posts</th> 
        <th style="width:35%">Last Post</th> 
       </tr> 
       <!--INSERT DATA--> 
       <tr> 
        <td>Icon</td> 
        <td> 
         <table border="2"> 
          <tr> 
           <td>link</td> 
           <td>view</td> 
           <td>image</td> 
          </tr> 
          <tr> 
           <td colspan="2" style="font-size:10px">ket</td> 
          </tr> 
          <tr> 
           <td colspan="2" style="font-size:10px">sponsored</td> 
          </tr> 
         </table> 

我HVE使用保證金0和padding 0試過,我也用的cellpaddingňCELLSPACING但在所有

它不工作嘗試

,我想刪除此

TABLE INSIDE TABLE

回答

0

你有一個保證金在桌子上設置。清除它關於使用嵌套表格:

td table { 
    margin: 0; 
} 

此外,bordercellspacingcellpadding屬性棄用(因爲很長一段時間)。你應該爲此使用CSS。