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 trialEmmanuel Rojas
6,994 PointsHelp! clearfix is not working, even though I applied the clearfix the footer is collapsing.
Help! clearfix is not working, even though I applied the clearfix the footer is collapsing.
Let me show you my code . help please http://codepen.io/era104/pen/rerPGE
1 Answer
Seth Kroger
56,413 PointsFirst, your clearfix rule shouldn't have a space in the selector, ie., ".clearfix:after" instead of ".clearfix: after". Second, it looks like you have your class="secondary col" and class="container clearfix" div's swapped. I believe the container should be the outer one and every thing will work fine.
Emmanuel Rojas
6,994 PointsEmmanuel Rojas
6,994 PointsYou are awesome!!! buddy, now it works perfectly, I really appreciate your help and greetings from Costa Rica.