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

CSS

border-radius: is not rounding the corners

Hello! I am trying to make my profile image into a circle with border-radius: 100% but nothing happens. I am currently using Chrome but also have tried it in Firefox. Hopefully a second set of eyes can spy whats wrong. Thanks in advance!

page link: http://web-etdnexw0gt.treehouse-app.com/about.html

css: .profile-photo { clear: both; display: block; max-width: 150px; margin: 0 auto 30px; border-radius:: 100%; }

about.html: <img src="img/trish.jpg" alt="Photograph of Trish Henrich" class="profile-photo">

Hi Trish, for more information on how to get your code up, see posting code to the forum.

3 Answers

Jacob Miranda
Jacob Miranda
19,392 Points

it may be because you're using two colons on the border-radius property?

That was it! Thanks! its always the little things.

it cut off my html info. Here it is again:

<section> <img src="img/trish.jpg" alt="Photograph of Trish Henrich" class="profile-photo"> <h3>About</h3> <p>Hi, I'm Trish Henrich and this is my design protfolio and this is my practice html</p> <p>If you would like to follow me on twitter, my username is <a href="http://twitter.com/trishhenrich">@trishhenrich</a>.</p> </section>

it cut off my html info. Here it is again:

<section> <img src="img/trish.jpg" alt="Photograph of Trish Henrich" class="profile-photo"> <h3>About</h3> <p>Hi, I'm Trish Henrich and this is my design protfolio and this is my practice html</p> <p>If you would like to follow me on twitter, my username is <a href="http://twitter.com/trishhenrich">@trishhenrich</a>.</p> </section>