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

zachary mitchell
zachary mitchell
2,006 Points

ID selector "#" not being recognized in challenge task

trying to select id="copyright" using #copyright but the challenge is not allowing me to do so. where am I going wrong? i have reviewed the video 3 times.

2 Answers

Just passed it with

    #copyright { border-top: solid 8px #2a0400; }
zachary mitchell
zachary mitchell
2,006 Points

that worked. why should i have known that?

zachary mitchell
zachary mitchell
2,006 Points

'''#copyright { border-style: solid 8px 0px 0px 0px; border-color: #2A0400; } ''' Am I losing my mind here?!!?!?

I would have to assume so as I have never seen that entry to border style. The 8px 0px 0px 0 part looks like syntax for box-shadow / text-shadow.

With border just specify the type ie solid, dashed etc, then the thickness then the colour