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 the box model step 5

Hi guys, been stuck on this for a while. In front-end development there is the css foundations where you have the box model sequence with the 5th step which is a code practice problem. INSTRUCTION: add an overflow property that will provide scroll bars if and when needed. I've tried everything i can think of but it keeps telling me i'm wrong. overflow: scroll; -webkit-overflow: scroll; ect... if you have suggestions i'm open. i would also like to hear if anyone else had the same problem since i made a bug report to support center but nothing was fixed.

1 Answer

Hi Ian,

overflow: scroll will put scroll bars up even if they are not needed.

overflow: auto will only put them up if they are needed.

cool! didn't know you could use auto, thanks!