[Javascript] table height detection in NS6.

Chris Basken chriz at basken.com
Thu Apr 26 15:10:35 CDT 2001


hi all.

i'm trying to reference the height of a table in NS6.  i'm using:

	document.getElementById('bodyTable').height;

...where "bodyTable" is the ID of the table.  it's returning "undefined".
however, if i call:

	document.getElementById('bodyTable').width;

...it works fine.  percentage, pixels, both work.

this also works correctly (for both width and height) under IE5.  anyone
know what the deal is when trying to retrieve height values from elements in
NS?

danke.





More information about the Javascript mailing list