I am encountering an issue with a div
element that contains an h2
and three nested div
elements. Despite not explicitly setting a height for the container div
, it is not expanding to accommodate the varying heights of the inner div
s. This problem is causing my footer to overlay on top of the div
. Upon inspecting in Firebug or the browser's inspector, you'll notice that the height of the div
only extends as far as the margin of the h2
. Any insights or suggestions would be greatly appreciated! Thank you!
You can view a fiddle demonstrating the issue here: Link