Not all of content shows up after scroll added


#1

https://www.codecademy.com/courses/learn-html-css/lessons/box-model/exercises/overflow?action=lesson_resume

Doesn’t scroll past Calories, Fats, Proteins. …missing carbs and sodium. There are no error messages. This exercise is supposed to show how min and max for width and height can stunt your display; shouldn’t scroll solve this problem?

Is it my browser? I’m on Chrome.



#2

overflow:scroll doesn’t work?


#3

I have the same issue…
I’v tried many popular browsers, but can’t scroll!


#4

Ok, I figured it out. In the lesson, we were told to put our “overflow: scroll” under .content-box{ }, but there is an earlier “overflow: hidden” that takes priority and will hide stuff that is outside of the size limits. Change the earlier one under body{ } from “overflow: hidden” to “overflow: scroll” and you will be able to see the rest of the content.


#5

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.