Hi all,
I'm trying to programmaically compute the width of the column of a table from those of nother table, like :
<SCRIPT ...>
document.all['col1'].width=document.all['colT1'].width;
document.all['col2'].width=document.all['colT2'].width;
</SCRIPT>
where
<BODY ..>
<DIV ....>
<TABLE ... id='header'>
<tr>
<td id='col1'>
bla bla
</td>
<td id='col2'>
hello world
</td>
</tr>
</table>
</DIV>
<TABLE ... id='main'>
<tr>
<td id='colT1'>
bla bla
</td>
<td id='colT2'>
hello world
</td>
</tr>
</table>
But I cant make the two tables columns match. Does anyone know why?
Thanks in advance.
I'm trying to programmaically compute the width of the column of a table from those of nother table, like :
<SCRIPT ...>
document.all['col1'].width=document.all['colT1'].width;
document.all['col2'].width=document.all['colT2'].width;
</SCRIPT>
where
<BODY ..>
<DIV ....>
<TABLE ... id='header'>
<tr>
<td id='col1'>
bla bla
</td>
<td id='col2'>
hello world
</td>
</tr>
</table>
</DIV>
<TABLE ... id='main'>
<tr>
<td id='colT1'>
bla bla
</td>
<td id='colT2'>
hello world
</td>
</tr>
</table>
But I cant make the two tables columns match. Does anyone know why?
Thanks in advance.