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 trialbarnabasadedoyin
1,501 PointsRound edge not showing in firefox
In About Page, the round or border radius wasn't showing in firefox but showing in Google Chrome. What could be the problem? Sorry for asking here...
7 Answers
John Donnell
7,801 Points"I just looked at the video and in the teachers notes it says"
There's a bug in the CSS for this video that causes the profile picture to display incorrectly in Firefox. In order to correct the issue, the clear property with the value both needs to be applied to the .profile-photo class. Here's what the corrected code looks like:
.profile-photo { clear: both; display: block; max-width: 150px; margin: 0 auto 30px; border-radius: 100%; }
Melody Schech
2,977 PointsAh ha,
I am using Firefox too,
When I added the period the image did not show up in browser view,
If I left the period off, the photo showed up but was not centered or rounded following the coding in the lesson.
But adding the period and the suggestion above to also have clear: both; it works. Yay!
John Donnell
7,801 PointsAre you using the newest version of firefox? Older versions you had to use -moz-border-radius: Try to update firefox to see if the problem persists.
barnabasadedoyin
1,501 PointsOk John, how can i update my firefox? I taught it is automatic update.
John Donnell
7,801 PointsI was just giving a suggestion, You may have the latest version. Here's a link what explains how to update firefox.
https://support.mozilla.org/en-US/kb/update-firefox-latest-version
barnabasadedoyin
1,501 PointsThanks for the link
Cheers
Abraham Juliot
47,353 PointsTry something like this...
border-radius: 10px;
/* Prevent background color leak outs */
-webkit-background-clip: padding-box;
-moz-background-clip: padding;
background-clip: padding-box;
I learned this from CSS Tricks and it should work in the latest firefox. Check out the article here: http://css-tricks.com/almanac/properties/b/border-radius/
I hope this helps
barnabasadedoyin
1,501 PointsHi Abraham, doesn't change anything because firefox didn't even show the image but chrome does.
barnabasadedoyin
1,501 PointsTough I didn't add the period, the problem is now solved.Seems I got and update because the code in .portfolio still remain intact.Thank you Melody