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.

Thomas Sifflet
1,505 Points"The Box Model" Challenge 3 of 3 [Resolved ]
Hi there, I'm new to the forums, but I will start with a problem :(
When I'm asked to add a top margin of 50px to the div, I type
div {
margin-top: 50px;
}
And it says "Please check the top-margin value in your CSS" . I don't understand. Should I write instead
div {
margin: 50px 0px 0px 0px;
}
? Thanks for the help.
2 Answers

chrismartinson
3,218 PointsI'm currently running into the same problem as you, however, I just passed that challenge a very short time ago. I would think both of those would work, but neither of them give a right answer. Hopefully someone else can shed some light on why it's not working. =/

Thomas Sifflet
1,505 PointsResolved, I just had to change the div to .box, so it would give :
.box {
margin-top: 50px;
}
Thomas Sifflet
1,505 PointsThomas Sifflet
1,505 PointsIt's strange, could you tell me how you passed the challenge ? Did you skip it ?