Top.Mail.Ru
? ?
Javascript's Journal
 
[Most Recent Entries] [Calendar View] [Friends View]

Thursday, April 20th, 2006

Time Event
11:52a
Is there a way in JavaScript to determine the dimensions of a DIV that hasn't had its dimensions specified (i.e. it's being sized automatically)?

Specifically, I want to figure out how tall a DIV with a specified width is. I'm using absolute positioning, if that matters at all. I was hoping I could do something like subtracting the bottom position from the top position, but if you don't specifically set bottom it doesn't exist and if you do top overrides it. :/

<< Previous Day 2006/04/20
[Calendar]
Next Day >>
About LiveJournal.com
Image