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 trialjohn hugo
2,379 Pointsblock element
hi guys and girls I'm trying to put my image in the block element but I cant get it to work any help would be great, its on the web design course thank you john
4 Answers
Sreng Hong
15,083 PointsAll you have to do is in main.css select the image (id, class...) then add the display property = block
select the image {
display: block;
}
Matthew Smart
12,567 PointsCan you provide us with code please? That way i can try to help you as your question is too brief otherwise :)
john hugo
2,379 Pointsit goes <img src: img/gratt.png" alt:" " class:" profile-photo"> <p>paragaraph about me</p> then the next it asks for block quote element
Matthew Smart
12,567 Points< blockquote >
</ blockquote >
is that what you mean? obviously without the spaces , as it wouldn't let me show it otherwise