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.

General Discussion Build a Simple Website Styling Content Finishing the CSS

Finishing the CSS

Hi, I can't seem to complete this exercise. The question asks me to add a top border, and border color to the copyright id element. My CSS that I've added to the the css file on the exercise is:

hash-icon (obviously as the hash icon not text) copyright { border-top: 8px; border-color: #2A0400; }

Could you please explain where I'm going wrong?

2 Answers

You need to define what type of border (ie. dashed, dotted, solid). I would try using the border shorthand:

#copyright {
    border-top: 8px solid #2A0400;
}

Jack,

It's asking you to define a top border, not a border all the way 'round. So, you'll want to use "border-top", not "border".

Ah, sorry, I see you've already done that. Try removing the "border-color" bit and just keep the hex color value.