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

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