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

HTML How to Make a Website CSS: Cascading Style Sheets Center the Wrapper

I am having problems getting css to modify the <div id="wrapper">.

Here is the code copy and pasted over. I can't seem to find out what the problem is. It looks like I copied verbatim.

The style sheet is saved The HTML doc is saved Tags are closed

</header> <div id="wrapper"> <section>
<ul> <li> <a href="img/numbers-01.jpg"> <img src="img/numbers-01.jpg" alt=""> <p> Experimentation with color and texture.</p>
</a>
</li>
<li> <a href="img/numbers-02.jpg"> <img src="img/numbers-02.jpg" alt=""> <p>Playing with blending modes in Photoshop.</p>
</a>
</li> <li> <a href="img/numbers-06.jpg"> <img src="img/numbers-06.jpg" alt=""> <p>Trying to create an 80's style of glows.</p>
</a>
</li> <li> <a href="img/numbers-09.jpg"> <img src="img/numbers-09.jpg" alt=""> <p>Drips created using Photoshop brushes.</p>
</a>
</li> <li> <a href="img/numbers-12.jpg"> <img src="img/numbers-12.jpg" alt=""> <p>Creating shapes using repetition.</p>
</a>
</li> </ul> </section>
<footer> <a href="http://twitter.com/smwebster2"><img src="img/twitter-wrap.png" alt="Twitter Logo"></a> <a href="http://www.facebook.com/stephen.webster.376"><img src="img/facebook-wrap.png" alt="Facebook Logo"></a> <p>Ā© 2016 Stephen Webster.</p> </footer> </div>

1 Answer

Well, I am going to leave this up in case anybody else has the same problem. In the CSS I wrote #wrappper instead of #wrapper. The frustrating thing is I spend 15 minutes looking for bad code, when bad spelling was the problem...smh.

Daniel Gauthier
Daniel Gauthier
15,000 Points

Hey Stephen,

Great work on squashing your bug. This is actually one of the things you'll be dealing with a ton as a web developer.

The good news is, it gets a lot easier to develop an idea of what could be causing the issue the more you work with a specific technology.

Keep up the good work!

Rich Donnellan
Rich Donnellan
Treehouse Moderator 27,671 Points

Marked Best Answer to close the discussion. I'm not sure if you get the +12 points or not for this.