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 trialDanilio Moreno
929 PointsI 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
2 Answers
Robert Manolis
Treehouse Guest Teacherimg { display: block; }
if the image has a class or an id, maybe better to use those since they have more specificity.
Danilio Moreno
929 PointsThis was actually CSS, I didnt see the option to go to the CSS page earlier. Thanks for answering guys!
Elaine Williams
2,176 PointsI was having the same trouble and also missed the css page. Thanks fellas!
Joshua Holland
2,865 PointsJoshua Holland
2,865 Pointswhat does the question say exactly? There are numerous ways to select any element. Is it asking you to select an ID or a class?