Quote:
|
Originally Posted by lokksta
Hi,
I have a problem with this code, it seems really simple but I just can't work it out. What I basically want to do is get the 4 cells at the top to span the 7 at the bottom. Here is the code:
Code:
<table width="100%" border="2">
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td colspan="7"> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
</table>
I have attached a screenshot from dreamweaver too, just so you can see exactly what I'm on about (it's quite heavily compressed to reduce filesize).
Thanks for any help.
|
<table width="100%" border="2">
<tr width="100%">
<td colspan="2" width="25%">I</td>
<td colspan="2" width="25%">CAN'T </td>
<td colspan="2" width="25%">DO </td>
<td colspan="2" width="25%">IT </td>
</tr>
<tr>
<td colspan="8">WITH </td>
</tr>
<tr>
<td width="12%">SEVEN </td>
<td width="13%">CELLS </td>
<td width="12%">BUT </td>
<td width="13%">CHEATING </td>
<td width="12%">WITH </td>
<td width="13%">EIGHT </td>
<td width="12%">WORKS </td>
<td width="13%">SORT-OF </td>
</tr>
</table>
|