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.