[thelist] Returning height of div

Joshua Olson joshua at waetech.com
Tue Sep 10 08:18:01 CDT 2002


----- Original Message -----
From: "Chris Marsh" <chris at webbtech.co.uk>
Subject: [thelist] Returning height of div


> Dear all
>
> Can anyone tell me what is the javascript syntax for ascertaining the
> height and width of a div? This needs to be IE only, and I need to know
> the dimensions when the onload event has fired. The div is dynamically
> populated with text on the server, so the height is not set at any
> point.

Here's a link to get you pointed in the right direction:

<wrap>
http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/ref
erence/properties/clientheight.asp
</wrap>

-joshua




More information about the thelist mailing list