how do I retrieve height of a cell that has no height value assigned? see example below. any idea?
thanks
chimera
<table>
<tr>
<td id="master"><img src="blind.gif" width="1" height="10" alt="" border="0">blah blah blah blah blah blah blah blah blah blah blah</td>
</tr>
</table>
<script language="JavaScript">
function retHeight(id)
{
var cell = document.getElementById(id);
alert(cell.height);
}
</script>
<input type="Button" value="alert" onclick="retHeight('master')">
thanks
chimera
<table>
<tr>
<td id="master"><img src="blind.gif" width="1" height="10" alt="" border="0">blah blah blah blah blah blah blah blah blah blah blah</td>
</tr>
</table>
<script language="JavaScript">
function retHeight(id)
{
var cell = document.getElementById(id);
alert(cell.height);
}
</script>
<input type="Button" value="alert" onclick="retHeight('master')">