As already mentioned, the problem is that you define a fixed height .. and therefore the browser adheres to this.
You need to make it more flexible using the min-height . However, IE does not support it, but due to another error in the way it handles the height (which it expands to serve content if it exceeds a certain height), it can be circumvented.
Complete solution
height:auto!important; height:500px; min-height:500px;
This, in general, is the solution to such problems .. in your case, I see that you are using absolute positioning .. if you really need it, and this is not just an attempt to solve your problem, then, unfortunately, there is no way for the element to adjust its size to serve absolute positioned elements.
Gaby aka G. petrioli
source share