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!
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

Timothy Roberts
4,127 PointsWidth, Height and Overflow Properties Box Model Quiz [RESOLVED]
Having a bit of trouble completing the Box Model Quiz 5/5 in CSS Foundations Second Edition.
Last instruction is "Finally, add an overflow property that automatically provides scrollbars if and where they are needed." My code comes back as incorrect:
/* Complete the challenge by writing CSS below */ nav a {display: inline-block; width: 100px;} .main {box-sizing: border-box; width: 400px; max-height: 150px; overflow: scroll; }
Any ideas? Thanks! :)
3 Answers

Timothy Roberts
4,127 PointsDisregard, discovered overflow needed to be auto rather than scroll.

James Barnett
39,199 PointsI love it when people solve their own issues. Rock on with your bad self

ilyass mougar
Courses Plus Student 2,858 Pointsnav a {display: inline-block; width: 100px;} .main {box-sizing: border-box; width: 400px; max-height: 150px; overflow: auto; }
Blake Jackovitch
6,688 PointsBlake Jackovitch
6,688 Pointsthanks so much, greatly apreciated
Nick Samuel
4,851 PointsNick Samuel
4,851 PointsThanks Timothy, I spent ages trying to place overflow:scroll into P etc. Glad someone else had the problem ;)
Brian Herbert
3,834 PointsBrian Herbert
3,834 PointsFor what it's worth (1 year later), I made the same mistake.
Joseph-Hall Savaiinaea
2,779 PointsJoseph-Hall Savaiinaea
2,779 PointsIts July 2014...and I thank you for your posts :D I was lost as well.