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 trialGiorgio Favotto
Front End Web Development Techdegree Student 1,752 PointsNot working on Firefox
Hi there!
This is happening. when i set to the class .profile-pic to display: block; the picture is not showing on firefox ( on chrome is appearing)
3 Answers
Dave McFarland
Treehouse TeacherGiorgio,
You're right. This appears to be a bug in Firefox. I talk about a possible workaround in this forum post: https://teamtreehouse.com/forum/trouble-with-display-block-in-css-for-profile-photo
daniela
2,629 PointsI had the same problem and asked the question a few hours after. My HTML and css are below.
HTML code <img src="images/nick.jpg" alt="Photograph of Nick Pettit" class="profile-photo">
CSS code .profile-photo { display: block; max-width: 150px; margin: 0 auto 30px; border-radius: 100%; }
Thanks for the help!
Daniela
Jason Anello
Courses Plus Student 94,610 PointsJason Anello
Courses Plus Student 94,610 PointsCan you post the relevant html and css?