I have a table with three columns but I want to make the left had column a fixed width?
Is this possible?
For example if the table is 300 pixels wide
I want column 1 to be 50 pixlels and column 2 & 3 125 pixles each!
anyone any ideas?
cheers
Tonyspecify width in pixels for first column, then percentage for other 2
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50"> </td>
<td width="33%"> </td>
<td width="33%"> </td>
</tr>
</table
or size everything<table width="300" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50"> </td>
<td width="125"> </td>
<td width="125"> </td>
</tr>
</table>
Is that what you meant ??
col1:
width = 15%
col2 and col3
width = 42%
is that what you ment?
otherwise if you wanted col1 to always be 50 pixels
col1:
width = 50
withis the second column nest a table with two columns of width = %50
try that and tell me how it works
0 comments:
Post a Comment