[Javascript] Retrieving height

Andrew Gibson andyg at ihug.co.nz
Mon Aug 5 03:09:46 CDT 2002


you can also try 

 document.getElementById(divName).offsetHeight

but is read only I think

> 
> document.all.divName.style.height
> 
> But I believe you have to set the value first; I've never had any success
> retrieving it before I set it.
> 
> |-----Original Message-----
> |Help!
> |I'm trying to retrieve height of an <div> tag. Is this possible?
> |
> |Bye,
> |
> |Iztok
> |
> |_______________________________________________
> |Javascript mailing list
> |Javascript at LaTech.edu
> |https://lists.LaTech.edu/mailman/listinfo/javascript
> |
> 
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript
> 





More information about the Javascript mailing list