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 Adding Pages to a Website Build the Contact Page

Added photo for about page. But now it's disappeared.

Added this but now photo has disappeared.

.profile-photo { display: block; max-width: 150px; margin: 0 auto 30px; border-radius: 100%; }

Here's the About.html: <img src="img/Me 2.jpg" alt="Photograph of Michael Grant" class="profile-photo">

5 Answers

Try putting "clear: both;" in your #wrapper styles. Does that fix it?

Matthew Lehman
Matthew Lehman
5,282 Points

Thanks Michael, I ended up finding the code under the teacher notes. But thank you so much for helping me out.

Please post your html and css code so I can see what is wrong and help you out.

Apparently the problem wasn't me but it was firefox. Treehouse suggested a code adjustment which has solved the problem.

Thanks for replying tho.

MBG

no problem. :)

Matthew Lehman
Matthew Lehman
5,282 Points

So apparently I have the same problem as well with firefox. Its working on my google chrome but not on my fire fox.

May you tell me the code adjustment since Im using firefox please?

Matthew Lehman
Matthew Lehman
5,282 Points

So apparently I have the same problem as well with firefox. Its working on my google chrome but not on my fire fox.

May you tell me the code adjustment since Im using firefox please?

No problem. Good luck.