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
OK I'm having difficulty with setting border radius. No matter what % I put, save and refresh still won't change. What?
Following Nick Pettit on web development. On about page for picture setting the radius in css. I have tried to alter it with many different percentages still no change. The coding is identical. What to do /
You can declare multiple classes on a single element, which is what is happening in your code now.
// You want there to be a hyphen between profile and photo, profile-photo.
// Otherwise, it has two separate classes, profile and photo.
<img src="img/nick.jpg" alt="Photograph of Nick Pettit" class="profile photo">
Unrelated, you'll soon find that your profile-photo will seemingly disappear. It's actually over to the right, but if you add clear: both to your profile-photo styles, it will move back to where it should be.
// Add the following line to your .profile-photo styles as well, to fix a float issue that will show up.
clear: both; // Add this line here! <--
margin: 0 auto 30px;