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 Foundations The Box Model Width, Height and Overflow Properties

Boon Ping Ng
Boon Ping Ng
2,474 Points

overflow: scroll is not working here and I can't proceed the quiz.

please help

4 Answers

It works, but it isn't the best approach in the case of the project you were doing. Setting it to scroll, will always show a scrollbar and with auto, it will only show it when necessary.

You need to set it to:

#myelement{overflow:auto;}

Hope it helps!

Boon Ping Ng
Boon Ping Ng
2,474 Points

shouldn't the scroll also fix the problem?