Re: how to get the height of an element
by "Justin H." <justinh(at)whidbey.net>
||Thu, 29 Mar 2001 10:32:11 -0800
||"HWG Style" <hwg-style(at)hwg.org>
HA! As usual, the easy answer eludes me. ;-)
For basic positioning data, .offsetHeight/Width/Left/Top works fine.
----- Original Message -----
From: "Dean Kelshall" <deankelshall(at)hotmail.com>
Sent: Thursday, March 29, 2001 8:53 AM
Subject: Re: how to get the height of an element
> Hi Jason,
> Try using
> Note that this element is NOT a child of the style element.
> >From: Jason Blair <jason(at)bcs-inc.com>
> >To: hwg-style(at)hwg.org
> >Subject: how to get the height of an element
> >Date: Thu, 29 Mar 2001 11:30:04 -0600
> >Hi everyone. I'm new to the list, so sorry if this question has been
> >asked previously.
> >Does anyone know how to get the height of an element where its
> >height hasn't been explicitly set? This was possible in Netscape4
> >browsers, but I can't seem to get it in Netscape6. For example,
> >in Netscape4 I could ask:
> >and it would return the height of that element (in my case a DIV tag).
> >However, with Netscape6 the call:
> >document.getElementById(some_id).style.height doesn't give a height
> >because I have not explicitly set it (I can't).
> >Thanks in advance, and sorry for the beginner question.
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
HWG hwg-style mailing list archives,
maintained by Webmasters @ IWA