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 trial

CSS How to Make a Website CSS: Cascading Style Sheets Style the Basic Elements

code 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

css/main.css
a {
  text-decoration: none
}

#wrapper {
  max-width 940px;
  margin 0 auto;
  padding 0 5%;
}

3 Answers

You are missing your colons (:).

#wrapper {
  max-width: 940px;
  margin: 0 auto;
  padding: 0 5%;
}

Thank you!

Ryan Field
PLUS
Ryan Field
Courses Plus Student 21,242 Points

You're missing the colons (:) in your #wrapper declarations. It should be:

  max-width: 940px;
  margin: 0 auto;
  padding: 0 5%;

Thanks! stupid over sight!

Ariel Aronica
Ariel Aronica
6,646 Points

Just to add to what the other people have said, you are also missing the semi-colon for text decoration. Cheers! :)