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

Danilio Moreno
Danilio Moreno
929 Points

I do not understand how to select a image and set it to a block element.

This is one of the quiz questions and its html, I do not remember this part in the lesson. Thanks

Joshua Holland
Joshua Holland
2,865 Points

what does the question say exactly? There are numerous ways to select any element. Is it asking you to select an ID or a class?

2 Answers

Robert Manolis
STAFF
Robert Manolis
Treehouse Guest Teacher

img { display: block; }

if the image has a class or an id, maybe better to use those since they have more specificity.

Danilio Moreno
Danilio Moreno
929 Points

This was actually CSS, I didnt see the option to go to the CSS page earlier. Thanks for answering guys!

Elaine Williams
Elaine Williams
2,176 Points

I was having the same trouble and also missed the css page. Thanks fellas!