Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
abhiram reddy
16,020 Pointsfooter { bottom: 0px; }
I wanna keep my footer at the bottom, how do I do that?
2 Answers
Aurelian Spodarec
7,369 PointsHi , what do you mean ?
If you want it to stay , you have to set it to position:fixed.
footer{
position:fixed;
bottom:0;
}
mikes02
Courses Plus Student 16,968 PointsYou might want to take a look at CSS Sticky Footer: http://css-tricks.com/snippets/css/sticky-footer/
abhiram reddy
16,020 Pointsabhiram reddy
16,020 PointsMy footer isn't even going to the bottom at all, it keeps staying at the top.
Aurelian Spodarec
7,369 PointsAurelian Spodarec
7,369 PointsCould you post your html and css code here please? http://codepen.io
Aurelian Spodarec
7,369 PointsAurelian Spodarec
7,369 PointsLook at live example.
abhiram reddy
16,020 Pointsabhiram reddy
16,020 Pointshttp://codepen.io/abhiram25/
Keep in mind, I just started.
My code can probably be better.
Aurelian Spodarec
7,369 PointsAurelian Spodarec
7,369 PointsWell, great start of creating your own webpage like this. It will take a bit time and a lot of practice to make it on todays average standard ( responsive design ) .
But great start! I really like it, especially the glow. Im looking forward to see it finished !
Merry Chrsitmas!
abhiram reddy
16,020 Pointsabhiram reddy
16,020 PointsI appreciate it man. i actually come from a marketing background and understand user-first.
I know I can do this, just have to take one step at a time.
I don't know why my footer is at the top though, any ideas?
Aurelian Spodarec
7,369 PointsAurelian Spodarec
7,369 PointsIs it in some divWrapper? if yes set it to position relative . OuterDiv , but the footer to fixed and bottom 0.