stjimmy Posted September 5, 2007 Share Posted September 5, 2007 Hello! I have serious problems with getting the footer to stick. I just dont know how to do it. As you can see for yourselves http://www.hemmaforum.se/ the content is too short and so the footer wont stick to the bottom. But I want my footer to always stick to the bottom no matter how much (or little) content. Can someone please help me with this? Best regards Dan Link to comment https://forums.phpfreaks.com/topic/68114-cant-get-the-footer-to-stick/ Share on other sites More sharing options...
stjimmy Posted September 5, 2007 Author Share Posted September 5, 2007 As you can see now I managed to get it to stick http://www.hemmaforum.se/ with the help off #footer { position: absolute; bottom: 0; height: 4em; } But now the content (black background) wont stretch to the footer and when I write a lot of text the text keeps on going under the footer...oh lord. Link to comment https://forums.phpfreaks.com/topic/68114-cant-get-the-footer-to-stick/#findComment-342408 Share on other sites More sharing options...
moberemk Posted September 6, 2007 Share Posted September 6, 2007 When I look at it in FF2 on 1280*1024, the footer actually requires scrolling to see. Maybe it's just me, but I've always found that stuff like that is just too much trouble to be honestly worth the work. Also, is it just me, or is your background a very slightly lighter version of the Gamespot background? Link to comment https://forums.phpfreaks.com/topic/68114-cant-get-the-footer-to-stick/#findComment-342577 Share on other sites More sharing options...
stjimmy Posted September 6, 2007 Author Share Posted September 6, 2007 So what should I do? What are my options? Link to comment https://forums.phpfreaks.com/topic/68114-cant-get-the-footer-to-stick/#findComment-342756 Share on other sites More sharing options...
moberemk Posted September 6, 2007 Share Posted September 6, 2007 Just have the footer with a clear: both; property at the bottom of the page. By also adjusting your background image to have the same lighter grey in the center that your copyright text is above, then it will look fine. Link to comment https://forums.phpfreaks.com/topic/68114-cant-get-the-footer-to-stick/#findComment-342851 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.