And on the day 7 Oct 2003 11:44:38 -0700,
sh***@revealed.net enlightened
us with <a1**************************@posting.google.com>. ..
Is there a way to detect the height of a TD tag?
In recent browsers only, you can get the height of a table CELL (not a
tag - tags don't have a height).
Given the following cell:
<td id="whatever">...</td>
<script type="text/javascript">
myVar = document.getElementById?document.getElementById
("whatever").getAttribute("height"):0;
</script>
Browsers (older ones, like NN4) that do not support
document.getElementById would get 0 as the value.
--------------------------------------------------
~kaeli~
Kill one man and you are a murderer. Kill millions
and you are a conqueror. Kill everyone and you
are God.
http://www.ipwebdesign.net/wildAtHeart/ http://www.ipwebdesign.net/kaelisSpace/
------------------------------------------------