Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

CSS CSS Foundations The Box Model Width, Height and Overflow Properties

Taha Lukmanji
Taha Lukmanji
619 Points

My last quiz is not passing - overflow

Hi all,

I put the overflow property in the div selector but seems like the test is not moving forward. Is there any thing else to put? Help me.

4 Answers

Steven Deutsch
Steven Deutsch
21,046 Points

Hey Taha,

I ran into the same problem. It should be "auto" instead of "scroll". I think paying close attention to the question helped me out on this one.

div { max-height: 150px; width: 440px; box-sizing: border-box; -moz-box-sizing: border-box; overflow: auto; }

Calvin Nix
Calvin Nix
43,828 Points

Please provide your source code.

Taha Lukmanji
Taha Lukmanji
619 Points

div { box-sizing: border-box; max-height: 150px; overflow: scroll; <--- I typed this but its not going forward }

Taha Lukmanji
Taha Lukmanji
619 Points

thanks whoswho, wow that was so confusing... I thought scroll is auto in its own way but oh well. Thanks for your help once again