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
Mark Breugelmans
626 PointsWrapper is not working. What am I doing wrong?
<div id="wrapper">
<section>
<ul>
<li><img src="img/Marian Vintage.png" alt=""></li>
</ul>
</section>
<footer>
<a href="https://twitter.com/solidpack"><img src="img/twitter-wrap.png" alt="Twitter Logo"></a>
<a href="https://www.facebook.com/mark.breugelmans.5"><img src="img/facebook-wrap.png" alt="Facebook Logo"></a>
<p>© 2016 Mark Breugelmans</p>
</footer>
</div>
#wrapper {
max-width: 940 px;
margin: 0 auto;
background: organge;
}
I tried before if the link between my main.css and index worked correctly by changing the color. That was ok.
2 Answers
Mark Breugelmans
626 PointsThanks for getting back to me so fast Jennifer. But I think I found the problem. I removed the space between between 940 and px. Now it is working. Thanks again
Jennifer Nordell
Treehouse TeacherI spy a typo!
background: organge;
I feel fairly sure that should be orange
Mark Breugelmans
626 PointsThanks Jennifer, I've changed that. Helps a lot :-) But still the other commands are not working (max-width and margin).
Mark Breugelmans
626 PointsThanks Jennifer, I've changed that. Helps a lot :-) But still the other commands are not working (max-width and margin).
Jennifer Nordell
Treehouse TeacherMark Breugelmans Let's try looking at all your code. On the upper right hand side of your workspace there is a camera icon. Click that to create a snapshot then open the link. Copy the URL and paste it in here so that we can see all of your code simultaneously. And no, we cannot directly edit your code on your workspace. Ours is just a copy.
Jennifer Nordell
Treehouse TeacherJennifer Nordell
Treehouse TeacherMark Breugelmans wow! Good catch! I missed that
You should mark yourself as best answer 