+ 2
Please see this code and tell me why is there no line between 2nd and third column and how do i add it
<table border="2"> <tr> <td>Red</td> <td>Blue</td> <td>Green</td> </tr> <tr> <td><br /></td> <td colspan="2"><br /></td> </tr> </table>
3 Respostas
+ 9
<table border="2">
<tr>
<td>Red</td>
<td>Blue</td>
<td>Green</td>
</tr>
<tr>
<td>TEST</td>
<td>TEST</td>
<td>TEST</td>
</tr>
</table>
As @Calvin wrote, read more about colspan attribute.
+ 6
i think it is because of the colspan attribute. you put colspan which has a value of 2. The table data with the colspan attribute occupies the 2 columns. Thats's why there are no line(s) in between 2nd and 3rd columns.
+ 3
If you want line there, why did you put colspan="2" there?