How to calculate the height of absolutely positioned block inside another block?

Good afternoon.
I have two blocks, one within another
D2Px65kTkREYZ2.jpg.
The one within the absolute, and the height of the parent. When trying to find the inner, the height() of indoor unit = height() of the parent, despite the fact that he was clearly bigger than him.
Question: how to determine the real height of the indoor unit?
Code like this: 52aaJ79ubDYBg2.jpg
Ie, the submenu should overlap the menu when activated.
April 4th 20 at 13:26
1 answer
April 4th 20 at 13:28
Solution
Exactly?
I think you are somewhere naplodili
Strange that you have running. Even changed in your example, div in ul>li. - gideon86 commented on April 4th 20 at 13:31
I realized I have the indoor unit standing height: 100% and bottom: 0;
Removed these properties and order. Thank you. - gideon86 commented on April 4th 20 at 13:34

Find more questions by tags JavaScriptjQuery