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 CSS: Cascading Style Sheets Center the Wrapper

Mohammed Ali Zaheer
Mohammed Ali Zaheer
11,787 Points

images

i am following the same code in the workspace but i cannot see images as it is shown in the video. I can only see small icons with question mark but no images...can any suggest why?

3 Answers

George S-T
George S-T
6,624 Points

This means that your web page can't find your images. Make sure your images are in the correct folder with the correct names. Also check in your code that you are accessing the images from the correct place.

For example, you might have an image called 'image.png' in a folder called 'img'. In your code you should have the directory: img/image.png

Good luck!

George S-T
George S-T
6,624 Points

Have a read here: http://blog.teamtreehouse.com/how-to-fix-a-broken-image

Im sure you will have made one silly mistake, it always happens.

Mohammed Ali Zaheer
Mohammed Ali Zaheer
11,787 Points

thanks fro your reply mate. but my images and their address in the code both are correct but still i cannot see the images when i run the preview in the workspace