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 trialkrupa shivaramareddy
450 Points# wrapper { max-width: 940px; margin: 0 auto; } for the challenge above is the code but its showing error.
I am trying to solve the challenge that is to set the max width of 940pxs and centre align with margin property, I want to know my answer is correct or not.
2 Answers
krupa shivaramareddy
450 PointsThank you! Andrew. Now it's working for me too. maybe I gave space between # and wrapper last time. a { text-decoration:none; }
wrapper {
max-width:940px; margin:0 auto; }
Andrew Minert
3,984 PointsIn this challenge I submitted this answer and it shows to be correct
a {
text-decoration:none;
}
#wrapper {
max-width:940px;
margin:0 auto;
}
Andrew Minert
3,984 PointsAndrew Minert
3,984 PointsNo Problem! Glad it worked :)