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 trialmarvelousperson206
9,199 Points[SOLVED] My .profile-photo not behaving the same as in the video
The profile photo used in the video is a square. I've uploaded my own photo, which is more of a rectangle (320x460). Now when I follow the code my picture appears in the top-right hand corner of the web page, instead of being centered. The code I used: .profile-photo { display: block; max-width: 150px; margin: 0 auto 30px; border-radius: 100%; }
Anyone know how I can correct this? Thanks in advance.
4 Answers
marvelousperson206
9,199 PointsIt was a bug in the Mozilla Firefox browser. Can't remember exactly how I fixed it but it underneath the video it had a comment that explained it properly
marvelousperson206
9,199 PointsDon't worry I just answered my own question!!
Joshua Harman
8,821 PointsHow'd you fix it?
Joshua Harman
8,821 PointsCool. Thanks!
Robert Richey
Courses Plus Student 16,352 PointsRobert Richey
Courses Plus Student 16,352 PointsEdited for solved