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

CSS CSS Layout Basics Getting Started with CSS Layout Creating a Sticky Footer

Andre Kucharzyk
Andre Kucharzyk
4,479 Points

Problem with footer. Chrome inspect tool shows 89.33 instead of 89. What could be a reason?

Problem with footer. Chrome inspect tool shows 89.33 instead of 89. What could be a reason?

WORKSPACE: https://w.trhou.se/23l1j0gvjg

2 Answers

Andre Kucharzyk
Andre Kucharzyk
4,479 Points

No no, wrap { min-height: calc(100vh - ); } was the change i made for the scrollbar to dissapear. Even if i delete mentioned line of code, footers height is still 89.33px.

douglasv
douglasv
4,960 Points

Hello, I solved this issue with windows display settings, since my monitor is 4k I'm used to scale to 125% the entire monitor and it can make the content of browsers different. With 125% I also had some extra pixels and with 100% it's back to normal size as the video shows.