Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

CSS How to Make a Website Adding Pages to a Website Make an About Page

i dont get what i did wrong

the final step asked me to set the max width for the image to 150 pixels and the border radius to 100% this is what i have typed

img{ display:block; margin:0 auto 30px; max-width:150px; border-radius:100%; }

2 Answers

Adam Moore
Adam Moore
21,956 Points

I believe they are asking you to set the settings for the profile photo that you are doing for the challenge, not simply every image on the page, which is what img{ } would select. So, since .profile-photo is the class, then this would be the selector that you would need to use to style according to the instructions.

That did it thanks!