Posted on: 4/5/2014 7:34:49 AM | Views : 228

Hi,
    The foollowing code works fine if it is HTML. While moving to Master page, footer comes near to header.
<head runat="server"> <title></title> <asp:ContentPlaceHolder ID="HeadContent" runat="server"> </asp:ContentPlaceHolder> <style media="screen" type="text/css"> html, body { margin: 0; padding: 0; height: 100%; } #container { min-height: 100%; position: relative; } #header { background: #ff0; padding: 10px; } #body { padding: 10px; padding-bottom: 60px; /* Height of the footer */ } #footer { position: absolute; bottom: 0; width: 100%; ...

Go to the complete details ...