I have problems width column widths. I want first column to have width at least 100px and stretch if needed. Second colmn should get remaining space.
Code:
<table border="1" width="100%">
<tr>
<td width="100px">
Name
</td>
<td>
Value
</td>
</tr>
<tr>
<td>
First name
</td>
<td>
John
</td>
</tr>
</table>
This works fine. However if text in first column is wider then it gets wierd width.
Code:
<table border="1" width="100%">
<tr>
<td width="100px">
Name
</td>
<td>
Value
</td>
</tr>
<tr>
<td>
First and last name
</td>
<td>
John Doe
</td>
</tr>
</table>
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum