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

profile-photo class arguments are not implementing in the browser.

Hi, I'm working in the main.css in the ABOUT: PAGE section with the class selector .profile-photo, but my margin and border radius are not implementing in my browser. This is probably due to an error I made while writing the code but I haven't been able to isolate it. I added the clear: both; argument just incase that was throwing things off but that wasn't it. Besides, I'm using Chrome. Anyway, a second pair of eyes would be great. Any thoughts? .profile-photo { clear: both; display: block; max-width: 150px; margin: 0 auto 30px; border-radius: 100%; }

https://w.trhou.se/yt242ihdj8

3 Answers

Thanks!

Andrew Robida
Andrew Robida
15,296 Points

If no changes are occurring whatsoever I would check your HTML and how you input the class. Maybe you put a period in front of it? Can you show me your code?

Andrew Robida I'm not sure how to share my code