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. :/