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
Joseph Hall
10,865 PointsMaking browser scroll after certain point.
Hi Everyone,
I have the following issue (see attached image). When the div containing the list items of "find people...choose a topic...start talking" gets really tall (as the browser width is decreased), it runs into footer. How can I make it so that, at a certain point, you have to scroll down to see the footer so that that the list items don't interfere. Make sense with what I'm trying to do?
See image: https://www.dropbox.com/s/guxl6wdf912r72s/Screen%20Shot%202016-04-01%20at%2019.12.33.png?dl=0
1 Answer
Iain Simmons
Treehouse Moderator 32,305 PointsYou'd have to share your code for us to make an informed recommendation, but maybe try add some bottom padding to the container just above the footer?
Christopher Parke
21,978 PointsChristopher Parke
21,978 PointsIf you are floating the elements above the footer and not applying a clearfix you are experiencing collapsing margins. What you need to do is apply the class "clearfix" to the parent container of the floated content. Here is the css you will add for the clearfix class:
.clearfix { content: ""; display: table; clear: both; }