S
Shawn Anderson
Is there a way to detect the height of a TD tag?
us with said:Is there a way to detect the height of a TD tag?
kaeli said:And on the day 7 Oct 2003 11:44:38 -0700, (e-mail address removed) enlightened
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>
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.