If i have less contents on the page then the footer stays on the middle of the page instead of at the bottom. I just want the footer will stay always at the bottom of the page after all the contents of the page. I tried different ways and found few solutions in stack but none of them are working as per my need. Most of the posts are 3/4 years of old. So, I'm wondering if anyone has any effective solutions that works fine. I'm using asp.net.I'm not good at css so may be I'm doing something wrong. My page format is like this-
<html>
<head>
<body>
<form>
<div class="clear">
<div class="container">
<ucl:headercontrol />
<asp:updatePanel>
</asp:updatePanel>
</div>
</div>
<div class="footer">
<p>xxxxx</p>
</div>
</form>
</body>
</html>
This is just my page skeleton. I would appreciate if any can give me any idea.