[Javascript] Creating a new <Div>

Peter-Paul Koch gassinaumasis at hotmail.com
Sat Jun 15 05:55:20 CDT 2002


>is there any way I can get the height of an <div> in Netscape 4.7  (sigh, 
>yes I know)
>
>eg
>
><div id=test>
>content placed in here say from database....
></div>
>
>I want to then get the height of div test so i can place other hidden
>elements directly below it, or is there another way...

document.layers['test'].document.height

Of course the layer *must* have a position: absolute in the style sheet.

ppk

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.




More information about the Javascript mailing list