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 trialRobert Cable
2,945 Pointscant seem to center photos
heres a copy of my code that is SUPPOSE to center my photos on my site. On workspaces it is showing html highlighted in red, which i know means that there is a tag open somewhere. I cant seem to identify where im missing a tag. Below is the code.
</header>
<div id="wrapper">
<section>
<ul>
<li>
<a href="img/numbers-01.jpg">
<img src="img/numbers-01.jpg" alt="">
<p>Experimentation</p>
</a>
</li>
<li>
<a href="img/numbers-02.jpg">
<img src="img/numbers-02.jpg" alt="">
<p>Blending modes</p>
</a>
</li>
<li>
<a href="img/numbers-06.jpg">
<img src="img/numbers-06.jpg" alt="">
<p>Drips created using Photoshop brushes</p>
</a>
</li>
<li>
<a href="img/numbers-09.jpg">
<img src="img/numbers-09.jpg" alt="">
<p>Wanker</p>
</a>
</li>
<li>
<a href="img/numbers-12.jpg">
<img src="img/numbers-12.jpg" alt="">
<p>Under Construction</p>
</a>
</li>
</ul>
</section>
<footer>
<a href="http://twitter.com/robhcable"><img src="img/twitter-wrap.png"alt="Twitter logo"></a>
<a href="http://facebook.com/robcable"><img src="img/facebook-wrap.png"alt="Facebook logo"></a>
<p>© 2014 Rob Cable.</p>
</footer>
</div>
</body>
</html>```
mrx3
8,742 PointsYou have to close the wrapper tag for your <div id="wrapper">. I just wanted to clarify better than my first response.
4 Answers
Robert Cable
2,945 Pointswould you mind telling me where exactly? thanks
mrx3
8,742 PointsIt goes right after your footer tag.
Alison Osworth
7,825 PointsIs it the punctuation at the end of the document after your closing HTML tag that's doing something weird?
Alison Osworth
7,825 Points(also I thought your closing wrapper tag was that last </div> down thereβI may be wrong though)
mrx3
8,742 PointsYour right sorry he does have it at the end of his footer my fault
mrx3
8,742 Pointsmrx3
8,742 PointsFrom what I can see you're missing the closing wrapper tag