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

HTML How to Make a Website CSS: Cascading Style Sheets Center the Wrapper

Oliver White
Oliver White
5,994 Points

My pictures will not show up on my page. I have poured over the code, and even gotten a second opinion.

https://w.trhou.se/zcg2q5039e

Here is a snapshot of my code.

Thanks in advance for any help!

Donghyeok Yun
Donghyeok Yun
4,514 Points

Hmm.. I think this might help. On your main.css you probably need to fix the margin margin: o auto; TO margin: 0 auto; Just test this out and it might work or maybe not but just test it out :)

Oliver White
Oliver White
5,994 Points

That centered everything like it was supposed to. Another Issue I hadn't even noticed. However, the photo's still show up as tiny white squares next to the bullet points. Thanks for catching that mistake though!

Donghyeok Yun
Donghyeok Yun
4,514 Points

I also found another error the image scr actually should be image src. I really want to figure this issue out because I also am very confused.

4 Answers

Oliver White
Oliver White
5,994 Points

Img scr should be img src. Thank you https://teamtreehouse.com/donghyeokyun for the answer.

Oliver White
Oliver White
5,994 Points

Thank you, thank you, thank you! It has been driving me nuts!

By the way, that worked... Thank you again.

Oliver White
Oliver White
5,994 Points

Such a small thing to cause such a big headache.

Donghyeok Yun
Donghyeok Yun
4,514 Points

I feel you there. I miss type something on my css, then just ruined entire website that I built, and I put lots of effort on that. So, took me about an hour to realize what I did wrong.

Oliver White
Oliver White
5,994 Points

That sounds very frustrating. At least you got it figured out though. And hey, you were able to help me out too, so you're doing something right!