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!

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;

Doesn't work in firefox.

2 Answers

Nazaam Kutisha
Nazaam Kutisha
7,667 Points

Hi Pearl,

Under this video, there is a teacher's note about this. For Firefox you'll need to set .profile-photo to clear:both; as follows.

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

Best, Nazaam

got it. thanks.