Click here to Skip to main content
15,901,122 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
plz any one help me how do i set the footer to bottom of the page so that it should adjust automaticaly ..
Posted

Hi,

Try to add the following CSS property in stylesheet and call it in your div class property.

HTML
.Footer
{
    background-position: center;
    clear: both;
    position: relative;
    z-index: 10;
    width: 100%;
}
 
Share this answer
 
The footer is set using the CSS. You need to assign 100% height to the body tag of HTML using CSS and that's it. There are a lot of samples available over the web but I am writing a small piece here.

html, body {
height: 100%;
}

hope it will work.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900