How can i get the table height by Javascript

S

Stuart Palmer

table doesn't have a height property, only width. you may however be able to
name each cell and then calculate the height based on the all the cells
heights added together.

What are you trying to do that needs the tables height?

Stu
 
F

Fabian

Stuart Palmer hu kiteb:
table doesn't have a height property, only width. you may however be
able to name each cell and then calculate the height based on the all
the cells heights added together.

What are you trying to do that needs the tables height?

If you put the table inside a DIV that contains nothing else, you could
obtain the height of the DIV iirc.
 

Ask a Question

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.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top