I want to expand the div tag to fit the mobile screen height
<div id="header"></div>
<div id="container"></div>
<div id="footer"></div>
The header and footer do not have a fixed height value and I want to make the container fit the remaining screen height.
When I used:
html , body {height:100%;}
#cointainer{height:100%;}
I have to scroll to show the footer.
So I want the header and footer height:auto
and the container take the remaining height.