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.

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?

Maren Lilleberre
Maren Lilleberre
17,505 Points

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.