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 Build a Simple Website Styling Content Finishing the CSS

Ryan Spence
Ryan Spence
770 Points

select copyright id, set Border color to #2A0400, thickness 8px

Hello I've done this css and can't figure out whats wrong. Please help when possible. thanks.

#copyright {
  border-top-width: 8px;
  border-top-color: #2a0400;
  border-top: solid;
}

2 Answers

Matt Lee
Matt Lee
2,116 Points

You need a # sign before copyright, to identify it as an ID.

#copyright {

}

You also don't need to spell out your CSS like that, you can combine things into one line:

border-top: 8px solid #2A0400;
Ryan Spence
Ryan Spence
770 Points

thanks! i found that and another issue.

i should have said 'border-top-style: solid'