This is not a constant because the height varies depending on if the div is visible or not. The size is also dependent on CSS for that div and therefore this is the best way to get it.