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 trialMaddie Duffy
3,659 PointsMy footer isn't sticking to the bottom of the page/ my main content is collapsing!?
What am i doing wrong???
1 Answer
Maddie Duffy
3,659 PointsThank you! I also had to add the clearfix class to my containers!
João Panão
2,951 PointsJoão Panão
2,951 PointsHello. I'm also learning and I'm not 100% sure if this is right but:
*Add clearfix to solve float problems in main-header class (it stays: <header class="main-header clearfix">). That way your navigation bar is solved.
make it:
.name { float: left; } And everything is okay :)
Cheers