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

Can't seem to center photos; dont see why

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>&copy;  2014 Rob Cable.</p>
</footer>

</div> </body> </html>```

Retagging this as HTML. :)

1 Answer

Do you have a closing tag for your wrapper div?

didnt think i needed one, do you mean for my css part?

Yeah, you need to close the

<div id="wrapper">

with

</div>