aka.snowball
17th June 10, 11:21 AM
Say that i have the following table. How can I do so that the three column takes up as much space as the other six?
In other words i want the three columns below(table cell 1, borttagit,tablecell3) to be the same width as the other six table cells.
How can this be done? I tried limiting the table width to 600px and then set each of those columns to 200 px but didnt work, the table expanded.
And if this is imposible to make in tables or <tbodys> how can i achieve this?
I would like to merge cells like you can in dreamweaver.
thanks :)
<table border="1" bordercolor="#FFCC00" style="background-color:#FFFFCC" width="600" cellpadding="3" cellspacing="3">
<tr>
<td>Table Cell</td>
<td>Table Cell</td>
<td>Table Cell</td>
<td>Table Cell</td>
<td>Table Cell</td>
<td>Table Cell</td>
</tr>
<tr>
<td style="width: 200px;">Table Cell1</td>
<td style="width: 200px;">Borttagit</td>
<td style="width: 200px;">Table Cell2</td>
</tr>
<tr>
<td>Table Cell</td>
<td>Table Cell</td>
<td>Table Cell</td>
<td>Table Cell</td>
<td>Table Cell</td>
<td>Table Cell</td>
</tr>
</table>
In other words i want the three columns below(table cell 1, borttagit,tablecell3) to be the same width as the other six table cells.
How can this be done? I tried limiting the table width to 600px and then set each of those columns to 200 px but didnt work, the table expanded.
And if this is imposible to make in tables or <tbodys> how can i achieve this?
I would like to merge cells like you can in dreamweaver.
thanks :)
<table border="1" bordercolor="#FFCC00" style="background-color:#FFFFCC" width="600" cellpadding="3" cellspacing="3">
<tr>
<td>Table Cell</td>
<td>Table Cell</td>
<td>Table Cell</td>
<td>Table Cell</td>
<td>Table Cell</td>
<td>Table Cell</td>
</tr>
<tr>
<td style="width: 200px;">Table Cell1</td>
<td style="width: 200px;">Borttagit</td>
<td style="width: 200px;">Table Cell2</td>
</tr>
<tr>
<td>Table Cell</td>
<td>Table Cell</td>
<td>Table Cell</td>
<td>Table Cell</td>
<td>Table Cell</td>
<td>Table Cell</td>
</tr>
</table>