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 Adding Pages to a Website Style New Pages

display: block; is removing my profile photo.

I am trying to add this CSS but it seems that my image keeps disappearing. Is there a way I can stop this from happening?

1 Answer

Matt West
Matt West
14,545 Points

Are you using Firefox?

There's a bug fix with the code in this video which causes the profile photo to display incorrectly in Firefox. You will need to add clear: both; to the .profile-photo class in your CSS.

Check out the teacher's notes for more info: http://teamtreehouse.com/library/how-to-make-a-website/adding-pages-to-a-website/style-new-pages

Thanks! That made it worked :)