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

Trista Ramirez
1,147 PointsMy photo in CSS did not round out my picture. HELP!
my photo is 1952 x 3264 pixels - 1.12 MB is it WAY to large is that why it won't round out?

Paul Jackson
8,943 PointsYou should probably downsize the photo, yes, but I don't think that's why it's not rounding the photo out. May I ask why there's 1020 px of padding? Have you tried using a percentage for the border-radius?
6 Answers

Trista Ramirez
1,147 PointsOh whoops I ment to fix that. I was playing around with the numbers to see if it would help.

Trista Ramirez
1,147 Points<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Trista Ramirez |Teaching self Code</title>
<link rel="stylesheet" href="css/normalize.css">
<link href='http://fonts.googleapis.com/css?family=Muli:400,400italic|Open+Sans:400italic,700italic,700,800,400' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="css/main.css">
</head>
<body>
<header>
<a href="index.html" id="logo">
<h1>Trista Ramirez</h1>
<h2>Learning to Code</h2>
</a>
<nav>
<ul>
<li><a href="index.html" class="selected">Portfolio</a></li>
<li><a href="about.html">About</a></li>
<li><a href="contact.html">Contact</a></li>
</ul>
</nav>
</header>
<div id="wrapper">
<section>
<ul id="gallery">
<li>
<a href="img/numbers-01.jpg">
<img src="img/numbers-01.jpg" alt="">
<p>Experimentation with color and texture.</p>
</a>
</li>
<li>
<a href="img/numbers-02.jpg">
<img src="img/numbers-02.jpg" alt="">
<p>Playing with images on photo shop.</p>
</a>
</li>
<li>
<a href="img/numbers.06.jpg">
<img src="img/numbers-06.jpg" alt="">
<p>Trying to do 80's style of glows.</p>
</a>
</li>
<li>
<a href="img/numbers-09.jpg">
<img src="img/numbers-09.jpg" alt="">
<p>Drips with photo shop.</p>
</a>
</li>
<li>
<a href="img/numbers-12.jpg">
<img src="img/numbers-12.jpg" alt="">
<p>Creating shapes.</p>
</a>
</li>
</ul>
</section>
<footer>
<a href="http://twitter.com/MOM_OF_3_HERE2COUPON"><img src="img/twitter-wrap.png" alt="Twitter Logo"class="social-icon"></a>
<a href="http://facebook.com/TrissR"><img src="img/facebook-wrap.png" alt="Facebook Logo"class="social-icon"></a>
<p>© 2015 Trista Ramirez.</p>
</footer>
</div>
</body>
</html>

Trista Ramirez
1,147 PointsIs something wrong with my HTML maybe?

Paul Jackson
8,943 PointsI'm not seeing a .profile-photo class here. You are talking about the photo in your "About" page correct?

Trista Ramirez
1,147 PointsHere is about.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Trista Ramirez |Teaching self Code</title>
<link rel="stylesheet" href="css/normalize.css">
<link href='http://fonts.googleapis.com/css?family=Muli:400,400italic|Open+Sans:400italic,700italic,700,800,400' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="css/main.css">
</head>
<body>
<header>
<a href="index.html" id="logo">
<h1>Trista Ramirez</h1>
<h2>Learning to Code</h2>
</a>
<nav>
<ul>
<li><a href="index.html">Portfolio</a></li>
<li><a href="about.html" class"selected">About</a></li>
<li><a href="contact.html">Contact</a></li>
</ul>
</nav>
</header>
<div id="wrapper">
<section>
<img src="img/My EVO album 244.jpg" alt="Photograph of Trista Ramirez" class="profile photo">
<h3>About</h3>
<p>Hi, I'm Trista Ramirez! This is my portfolio. I am in the process of teaching myself how to Code online in-between my 3 little ones. I enjoy being outdoors, going to church, cooking, eating a GMO-Free diet, couponing and exercising.</p>
<p>If you'd like to follow me on Facebook, my user name is <a href="http://facebook.com/TrissR">TrissR</a>.</p>
</section>
<footer>
<a href="http://twitter.com/MOM_OF_3_HERE2COUPON"><img src="img/twitter-wrap.png" alt="Twitter Logo"class="social-icon"></a>
<a href="http://facebook.com/TrissR"><img src="img/facebook-wrap.png" alt="Facebook Logo"class="social-icon"></a>
<p>© 2015 Trista Ramirez.</p>
</footer>
</div>
</body>
</html>

Trista Ramirez
1,147 Points<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Trista Ramirez |Teaching self Code</title>
<link rel="stylesheet" href="css/normalize.css">
<link href='http://fonts.googleapis.com/css?family=Muli:400,400italic|Open+Sans:400italic,700italic,700,800,400' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="css/main.css">
</head>
<body>
<header>
<a href="index.html" id="logo">
<h1>Trista Ramirez</h1>
<h2>Learning to Code</h2>
</a>
<nav>
<ul>
<li><a href="index.html">Portfolio</a></li>
<li><a href="about.html" class"selected">About</a></li>
<li><a href="contact.html">Contact</a></li>
</ul>
</nav>
</header>
<div id="wrapper">
<section>
<img src="img/My EVO album 244.jpg" alt="Photograph of Trista Ramirez" class="profile photo">
<h3>About</h3>
<p>Hi, I'm Trista Ramirez! This is my portfolio. I am in the process of teaching myself how to Code online in-between my 3 little ones. I enjoy being outdoors, going to church, cooking, eating a GMO-Free diet, couponing and exercising.</p>
<p>If you'd like to follow me on Facebook, my user name is <a href="http://facebook.com/TrissR">TrissR</a>.</p>
</section>
<footer>
<a href="http://twitter.com/MOM_OF_3_HERE2COUPON"><img src="img/twitter-wrap.png" alt="Twitter Logo"class="social-icon"></a>
<a href="http://facebook.com/TrissR"><img src="img/facebook-wrap.png" alt="Facebook Logo"class="social-icon"></a>
<p>© 2015 Trista Ramirez.</p>
</footer>
</div>
</body>
</html>

Paul Jackson
8,943 PointsI noticed you left the heifen out of the class in your HTML
<img src="img/My EVO album 244.jpg" alt="Photograph of Trista Ramirez" class="profile photo">
if your CSS says .profile-photo and your HTML says class="profile photo" then they're not linking up and I don't think you can just have a space there anyway

Trista Ramirez
1,147 PointsI figured it out! I did not put profile-photo in my HTML
Trista Ramirez
1,147 PointsTrista Ramirez
1,147 Points.profile-photo { border-radius: 125px; padding: 1020px; width: 20px; height: 150px; }