I am trying to make div1 occupy 80% of the screen height, and div2 occupy 20% of the screen height. If div1 though has too much content and overflows, then div2 should be pushed under it and not on top of it. For some reason though, the overflow:visible is not working, div2 remains on top of div1, with div1 content underneath it. Thanks.
<div style="width:100%; height:80%; overflow:visible;">
<asp:ContentPlaceHolder id="ContentPlaceHolder1" runat="server">
</asp:ContentPlaceHolder>
</div>
<div style="width:100%; height:20%;" class="footerbar">
<asp:PlaceHolder ID="plFooter" runat="server"></asp:PlaceHolder>
</div>