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
Miron Mitrea
Courses Plus Student 5,167 PointsSmall footer margin and scrollbar doesn't disappear after calc function.
I have empty space on top of the footer. The wrap div ends exactly 16 px short of the footer ( https://postimg.org/image/9lq5qsmd1/ ). If add the 16 px to the media query calculus, 105 instead of 89 px the scrollbar disappears. Where is that space from?
My code: https://gist.github.com/CrazyBadTurtle/60b1f6171f2c7cd873e972402b553af0
2 Answers
Aurelian Spodarec
10,801 PointsI'm not sure, but you could try in the calc your equation and then - 16px? Maybe. There's not code there.
Miron Mitrea
Courses Plus Student 5,167 Pointsthere was a margin collapsing type of problem. After i added padding to the wrapper it worked out . thanks for feedback.
Aurelian Spodarec
10,801 PointsHopefully you're using clearfix :) if you don;t know what it is you shoudl check out it in google.