Maybe it is a stupid question, but I'd like to know if there is a "power" function that get to me the real height of a div, counting also the "display:none;" height for each element on it.
Is it just a dream?
Maybe it is a stupid question, but I'd like to know if there is a "power" function that get to me the real height of a div, counting also the "display:none;" height for each element on it.
Is it just a dream?
I'd say that the height you're asking for is less "real" than than actual display height. You have a few options:
visibility: hidden
insteadposition: fixed; top: 100%
should do) and try #2 on that div.