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

CSS

Text-Transform Overwriting Border Radius

I'm in the "writing CSS" part - http://teamtreehouse.com/library/build-a-simple-website/styling-content/writing-css-2

At about 9 minutes in, we're asked to make a border radius of 25px to give the button rounded corners. No problem, works great.

Next, we're asked to use text transform to make the text uppercase. When I add that in, it works, but it takes away the rounded corners from the previous step.

color: #FAF3BC;
background: #4FB69F url('/img/texture.png') no-repeat right top;
padding: 15px 30px;
margin: 40px 0px;
border-radius: 25px
text-transform: uppercase;

Also, (probably relevant) I'm using Sublime Text 2, and all of the code so far (well, the beginning part of it - color, background, padding, margin, etc.) is italicized... this is not.

Help please?

1 Answer

Nevermind... figured it out when I saw it on the screen... forgot the semi-colon behind border-radius... DERP