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 trialandrew schoenherr
8,427 Pointscode challenge css. the question is asking to center it with the margin. says check margin value. I've tried everything
I can not figure out the margine value or what the question is really asking
a {
text-decoration: none
}
#wrapper {
max-width 940px;
margin 0 auto;
padding 0 5%;
}
3 Answers
Chyno Deluxe
16,936 PointsYou are missing your colons (:).
#wrapper {
max-width: 940px;
margin: 0 auto;
padding: 0 5%;
}
Ryan Field
Courses Plus Student 21,242 PointsYou're missing the colons (:
) in your #wrapper
declarations. It should be:
max-width: 940px;
margin: 0 auto;
padding: 0 5%;
andrew schoenherr
8,427 PointsThanks! stupid over sight!
Ariel Aronica
6,646 PointsJust to add to what the other people have said, you are also missing the semi-colon for text decoration. Cheers! :)
andrew schoenherr
8,427 Pointsandrew schoenherr
8,427 PointsThank you!