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 Adding Pages to a Website Make an About Page

stage 07-03 Make an About Page

Just a question I need to finish the first web design course I am in the stage 07 to the third section “Make an About Page” Objetive 3/5 They could support me, do not understand this question,

“Select the image and set it to be a block element”

<div id="wrapper"> <section> <ul> <li> <a href="img/gratt.png" > <img src="img/gratt.png" alt="inclusion imagen gratt.png" class="profile-photo"> <p>soy un profesional del desarrollo web</p> </a> </li> </ul> </section> <footer> <a href="http://twitter.com/nickrp"><img src="img/twitter-wrap.png" alt="Twitter Logo" class="social-icon"></a> <a href="http://facebook.com/nickpettit"><img src="img/facebook-wrap.png" alt="Facebook Logo" class="social-icon"></a> <p>© 2014 Nick Pettit.</p> </footer> </div>

2 Answers

hi Jose, try this

.profile-photo {
  display: block;
}

It should work ;)

Hi Jose,

You will need to view the external style sheet and add a new style which sets the img with a class of profile-photo to display as a block element.

This link about the display may help as a reference.

Thanks

-Rich