Tabel skaber sig
Hvorfor bliver cellerne i denne tabel ikke den størrelse jeg beder dem om? Er der en måde at presse dem til den rigtige størrelse?HTML:
<table border="1" cellspacing="5" cellpadding="5" width="600">
<tr>
<td class="content" colspan="2" rowspan="2" width="300" height="200">
<div style="width: 300px; height: 200px; background: #009999">
Article five
</div>
</td>
<td class="content" colspan="2" rowspan="2" width="300" height="200">
<div style="width: 300px; height: 200px; background: #009999">
Article five
</div>
</td>
</tr>
<tr>
</tr>
<tr>
<td class="content" width="150" height="100">
<div style="width: 150px; height: 100px; background: #00ff00">
Article one
</div>
</td>
<td class="content" colspan="3" rowspan="1" width="450" height="100">
<div style="width: 450px; height: 100px; background: #0000ff">
Article two
</div>
</td>
</tr>
<tr>
<td class="content" colspan="3" rowspan="1" width="450" height="100">
<div style="width: 450px; height: 100px; background: #0000ff">
Article two
</div>
</td>
<td class="content" width="150" height="100">
<div style="width: 150px; height: 100px; background: #00ff00">
Article one
</div>
</td>
</tr>
</table>