I am trying to create a table that takes 2 columns into a single field of a table. So far I have the following:
<table>
<thead>
<tr>
<td class="center">Comprador</td>
<td class="center" colspan="2">Sucursal 1</td>
<td class="center" colspan="2">Sucursal 2</td>
</tr>
<tr>
<td></td>
<td class="center">Proveedores</td>
<td class="center">Productos</td>
<td class="center">Proveedores</td>
<td class="center">Productos</td>
</tr>
</thead>
</table>
but "Buyer" is displayed in the first row, not both. I want it to show up in both.
Any idea how to do this? I wish it to look like this: (I edited the image to show it)
You should use the rowspan property of the buyer's td tag
Here is an example of what you need:
You can check the following page on this topic :