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

border-radius error

when I put in the code border-radius:100% nothing happens

4 Answers

Zack Taylor
Zack Taylor
9,021 Points

have you made sure your CSS is linked. Also have you forgotten the ";" at the end in the CSS ? example. border-radius:100%;

Only other thing I can think of is that your linking it 2 the wrong "class" or "id". Give us your code and Im sure the lovely people at treehouse will help you out. :D

Brian Goodman
Brian Goodman
6,023 Points

can you show your whole CSS code? Did you forget your semi-colon at the end of your value?

EDIT: I see Zack beat me to the punch lol

this is my css code:

/********************************************** OTHER **********************************************/ a { text-decoration: none; }

img { max-width: 100%; }

wrapper {

max-width: 940px; margin: 0 auto; padding: 0 5%; }

logo {

text-align: center;
margin: 0; 

}

nav a:hover{ color: #fff } /************************************************************************ NAV *********************************************************************/ nav a.selected:visited { color:#000 } /************************** favorite colors ****************************/ p.favoritecolor:hover{ color: #D16B05;background-color:#D16B05 } p.favoritecolorA:hover{ color:#225;background-color:#225 }

html{ font-family:'Dancing Script';}

f5f

} /******************** GALLERY ************************/

gallery {

  list-style: none;

}

gallery li {

float:left;
width: 45%;
margin:2.5%;

}

gallery a p {

   margin: 0;
    padding: 5%;
   font-size:0.75em;

} /**************************************** LIST ***************************************/ ul li { list-style: none; } nav li { display: inline-block; } li.selected { text-align:right }

/************************************* FOOTER ************************************/ footer.icon { color:#f04831 }

/************************************************************** page:about **************************************************************/ .profile-photo { display: block; max-width: 150px; margin: 0 auto 30px; border-radius: 100%; }

Ricky Catron
Ricky Catron
13,023 Points

It is also possible that your browser does not support border-radius. What browser are you using?

I am using google

If i recall correctly, that was the lesson where I stopped using Firefox as a browser. The notes below the video discuss a glitch that Firefox has with the code from the lesson.