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 trialBrittni Kelly
1,250 PointsI do not see where my max-width value is off. It asks for a max-width of 940 pixels. Mine reads: max-width: 940px;
Select the ID wrapper, set it to a max width of 940 pixels, and then center it on the page using the margin property.
My answer:
wrapper {
max-width: 940px;
margin: 0 auto;
}
Brittni Kelly
1,250 PointsSorry, it removes the # when I paste the answer in, but it is setup exactly the same as your comment and it will not go through.
1 Answer
Kelly von Borstel
28,880 PointsIt looks correct, but maybe you can paste entire code in case there's a problem elsewhere. Here are instructions to paste code so it doesn't remove the # like you mentioned. And here's the code I used to pass challenge. https://teamtreehouse.com/forum/posting-code-to-the-forum
a {
text-decoration: none;
}
#wrapper {
max-width: 940px;
margin: 0 auto;
}
#logo {
text-align: center;
}
Brittni Kelly
1,250 PointsThank you, Kelly! #wrapper was always gray when I typed it, so it must not have recognized my hashtag. This was a great help!
Ryan Decker
3,451 PointsRyan Decker
3,451 PointsYou need to add the full ID selector like this: