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 trialColten Rowland
335 PointsWhat am I doing wrong?
wrapper{
max-width: 940px; margin: 0px, auto; }
a { text-decoration: none; }
7 Answers
Spencer Merritt
10,615 PointsNo comma between 0px auto. And you can drop the px. Just margin: 0 auto;
Spencer Merritt
10,615 PointsThis a general forum. I don't work for Treehouse. I'm a member like you trying to help you out. It's always best to post as much info at possible for people to be able to help you better. I think this is what your looking for.
a {text-decoration:none;}
#wrapper {max-width:940px; margin:0 auto;}
#logo {text-align:center;}
Colten Rowland
335 PointsStill didn't work.
wrapper {
max-width: 940px; margin: 0 auto; } a { text-decoration: none; }
Spencer Merritt
10,615 PointsWell what's the full question your trying to answer then. You're not giving much info for us to help you with.
Colten Rowland
335 PointsWhat is wrong with this code. Your system will not allow me to move on without completing this challenge. Is this a bug in your system or am I doing something wrong?
wrapper {
max-width: 940px; margin: 0 auto; } a { text-decoration: none; }
Colten Rowland
335 PointsI'm new to treehouse. My assumption is that you can see my progress and know what I am trying to accomplish.
Colten Rowland
335 PointsDo I have to post the challenge question as well? I assumed you work for this company and your are familiar with the course material provided online.
Colten Rowland
335 PointsSo sorry. Thank you for taking the time to respond to me. Sorry for my lack of understanding.
Select the ID wrapper, set it to a max width of 940 pixels, and then center it on the page using the margin property.
wrapper {
max-width: 940px; margin: 0 auto; } a { text-decoration: none; }