0
Rowspan
How to use a rowspan attribute ??
3 Respostas
+ 7
Like this:
<td rowspan="2">something</td>
+ 5
You are mandatory to use rowspan/colspan by following some simple rules: cells (<td> elements) spanned (not the first one where you specify the attribrute) need to be ommitted from your <table> structure:
<table>
<tr>
<td>cell content</td>
<td>cell content</td>
<td>cell content</td>
</tr>
<tr>
<td rowspan="2">cell content</td>
<td>cell content</td>
<td>cell content</td>
</tr>
<tr>
<!-- <td>cell content</td> spanned with previous same column cell -->
<td cellspan="2">cell content</td>
<!-- <td>cell content</td> spanned with pevious cell -->
</tr>
</table>
Comments can be avoided, but here written for explanation purpose ;)
0
Thanks....👍