[thelist] JS/DOM: height or bottom of a div?

Frank frank at loofahcom.com
Sun Aug 26 15:22:24 CDT 2001

I'm using CSS positioning for my site, and I want the footer div to sit 
below the content div. Since the content div will always be changing sizes, 
I'm trying to get at it's height, or it's bottom, so that I can calculate 
where to put my footer.

Reading the DOM 1 spec, I see that the only attribute that DIV has is 
ALIGN. Bummer. Can someone suggest a manner in which I can find out where 
the bottom of a given div is?


More information about the thelist mailing list