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

Giulia Bluestein
Giulia Bluestein
1,588 Points

Border-radius doesn't work

Hello everyone,

I was following along with the teacher, at least I thought I was, and when I saved to view the new picture with the rounded borders, the rule doesn't work. I checked the the class name matches. Not sure what's wrong. Can somebody give a look at it please?

From the about.html page:

      <img src="img/nick.jpg" alt="Photograph of Giulia Bluestein" class="profile-photo">
      <h3>About</h3>
      <p>Hi, I am Giulia Bluestein! This is my design portfolio where I share all of my favorite work. When I am not designing thing, I enjoy exercises, drinking my espresso, and more.</p>
      <p>If you would like to follow me on Instagram, my username is <a href="https://www.instagram.com/juls93_fit/" @juls93_fit </a>
    </section>```

From CSS file:
```.profile-photo {
  clear: both;
  display: block;
  max-width: 150px;
  margin: 0 auto 30px;
  border-radius: 100%;
}```
Kevin Green
Kevin Green
7,711 Points

Have you figured this out? I am having the same behavior.

2 Answers

Here is a snapshot where it appears to be working. What does yours do?

I've coiped you snapshot and it still isn't working for me..

Have anybody here fixed the problem ? because I'm still having the same problem.