HTML table with different count of td
For logo and and menu I have table with two rows. And Picture of person. Upper part of the body is on first row and lower part is on second ro开发者_开发问答w. First row should have only one td
that is logo of the site and in second row i should make multiple td
Can someone help me with that task. I should use tables because my client want it.
You can use the colspan
attribute on a <td>
element to make it fit more than one column, just increase the number to however many columns you want it to fit across
<table>
<tr>
<td colspan="2">Long column</td>
</tr>
<tr>
<td>Small</td>
<td>Column</td>
</tr>
</table>
jou can use collspan
(like in cell[2,0]), further info: http://reference.sitepoint.com/html/td/colspan
精彩评论