Hi, basically I have a div that is my footer on a page. I want it to stay at the bottom of the page, so if you have a big screen then you'll see the content, and the footer will be at the bottom and if you have a small screen you'll see the content, have to scroll down and see the footer.
The way I was doing the footer was along the lines of...
That makes the footer stay at the bottom of the page, which is good, but it also makes it stay at the bottom of the browser window, so if you have a small screen then it covers the content...Code:.footer { position:absolute; bottom: 0; }
So I tried...
That doesn't stick to the bottom of the page or browser window - I want it to stick to the bottom of the page but not the window...Code:.footer { position:static; bottom: 0; }
Any help, please? An example of what I want: http://ryanfait.com/ like that footer.





Reply With Quote





