C
Csaba Gabor
The following demonstrates how the TEXTAREA element does not size to 100%
unless I manually (with javascript) force the table's size (to be what the
table's size already is). Am I missing something here?
Csaba Gabor from Budapest
<HTML>
<head><title>Textarea sizing</title></head>
<BODY onLoad=
"alert('Ready');var
mytd=document.getElementById('mytd');mytd.style.height=mytd.offsetHeight">
<TABLE bgcolor="orange" border=1 id=mytd>
<TR><TD rowspan=3><TEXTAREA style="width:100%;height:100%">
This should ALREADY fill the cell</TEXTAREA></TD>
<td>One</td></TR>
<tr><td>Two</td></tr>
<tr><td>Three</td></tr>
</TABLE></BODY><HTML>
unless I manually (with javascript) force the table's size (to be what the
table's size already is). Am I missing something here?
Csaba Gabor from Budapest
<HTML>
<head><title>Textarea sizing</title></head>
<BODY onLoad=
"alert('Ready');var
mytd=document.getElementById('mytd');mytd.style.height=mytd.offsetHeight">
<TABLE bgcolor="orange" border=1 id=mytd>
<TR><TD rowspan=3><TEXTAREA style="width:100%;height:100%">
This should ALREADY fill the cell</TEXTAREA></TD>
<td>One</td></TR>
<tr><td>Two</td></tr>
<tr><td>Three</td></tr>
</TABLE></BODY><HTML>