2016-06-08 75 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。