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 CSS Basics (2014) The Box Model Padding, Borders, and Margins

box method 5th challenge

.secondary-content { padding-top: 80px; padding-bottom: 70px; border-bottom-style: dotted; border-bottom-color: lightgrey; border-bottom:2px;

}

What mistake am I making? I was asked to make the bottom border color lightgrey size 2px and dotted.

2 Answers

As it stands, you're using the wrong property name for your width property. Or, you could use the border-bottom shorthand method and set all three values at once. You're close, try it again!

You mistakenly are using the "border-bottom" shorthand in place of "border-bottom-width".

Shorthand for "border-bottom":

border-bottom: border-width border-style border-color;