2013-01-18 74 views

回答

0

可以取出空middel TD在第一行中,并设置该行中的最后一个td具有2的colspan。类似于:

<table cellspacing="0"> 
    <tbody> 
    <tr class="line"> 
     <td>20_January 2013 </td> 
     <td colspan="2" style="padding-left: 10px; "> 
        Serafim Tsotsonis mixtape 24 :00 - 01 :00 @ <a href="http://www.dinamo.fm/" target="_blank">dinamo.fm</a></td> 
    </tr> 

    <tr class="line"> 
     <td>11_January 2013 </td> 
     <td></td> 
     <td style="padding-left: 10px;"><a href="https://www.facebook.com/events/565108543517894/567425516619530/" target="_blank">Sporos Bar, Athens</a></td> 
    </tr> 
    ... 

或者是trhis不是你想要达到的目标?

+0

叶氏,这作品!谢谢 –

2

使用NOWRAP属性

<td nowrap="nowrap"> 

或CSS(更好,因为NOWRAP属性在HTML 4.01弃用,在HTML5中不存在)

<td style="white-space: nowrap"> 
0
I think you can use the <colgroup>tag 
<colgroup> 
<col width="total width of the first column" /> 
<col width="*" /> 
</colgroup> 

注:使用此,如果列具有宽幅采取