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.

Alizee Le Reun
1,455 PointsStage 7... Help
Hello everyone,
I'm stuck for the question "Round each corner of the rounded div by 30px". Any Help ?

Dustin Matlock
33,856 PointsAnd for people who still can't quite grasp how to post code (future reference as well), here's a graphic to help with the process.
5 Answers

Jason Anello
Courses Plus Student 94,592 PointsThey want you to use the border-radius
property.
.rounded {
border-radius: 30px;
}
Before we had the border-radius property we had to resort to using images to achieve rounded corners which I think is what you were trying to do here. It's much easier now though.

Jovanny Elias
16,204 PointsHello, Try this
.rounded { border-radius: 30px; }

Alizee Le Reun
1,455 PointsThank you guys for the help :)

Alizee Le Reun
1,455 PointsThis is my code :
.rounded { background: url(rounded.png) repeat-y 0 0; width: 30px; }

Michelle Pepe
Courses Plus Student 6,124 PointsI had noticed that the div class in the html file was rounded box not rounded. you have write rounded on the div class and then write this code in css .rounded { border-radius:30px; }
Jason Anello
Courses Plus Student 94,592 PointsJason Anello
Courses Plus Student 94,592 PointsHi Alizee,
How to post code
It's faster to post code this way than using screenshots. Also, images have to be uploaded somewhere in order to be posted. They won't work from your desktop.