Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

CSS How to Make a Website Adding Pages to a Website Add a New Page

The image is not appearing

I renamed, and thought it was the class on the HTML, something i did with the css, but when adding the properties, display: block; the image dissapears, I'm using aurora

Adam Moore
Adam Moore
21,956 Points

You're probably going to have to add your code on here so that it'll be easier to see what may be the issue. You can use the "Markdown Cheatsheet" below the text area for help on how to add code into the forum.

1 Answer

Sean Perryman
Sean Perryman
13,810 Points

Juan, what Adam is trying to say is that posting the code snippet you are referring to is usually the best way to get help on issues like this. What I would do, in your situation, is remove all the CSS formatting from the image and re-add it one by one. After removing all the formatting from the CSS for that image, reload the page and see if the image loads.

You can also utilize the google chrome developer tools (or firefox, whichever browser you are using) to see what CSS is being applied to the page. If something is hidden, it won't show up there, but it might give you a clue as to what is going on that is hiding your image. Good luck!