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!

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

Whats wrong with this?

Line 21:

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

doesnt work...? Wheres the mistake?

5 Answers

Patrick Gerrits
Patrick Gerrits
14,614 Points

Lets get you on the way.

Is copyright a valid html tag? Or is it a class or id?

Then when you look at the border-top. What are the 0's for?

Jaka Dirnbek
Jaka Dirnbek
7,046 Points

What do the zeroes stand for?

copyright { border-top: 8px solid #2A0400 } should work.

Thanks (both); indeed, die 0 0 0 s got in the way. The error message was misleading me...

Thanks (both); indeed, die 0 0 0 s got in the way. The error message was misleading me...

Jason Broderick
Jason Broderick
7,361 Points

"copyright" is not a valid html tag

It should read ".copyright" if its a class tag or "#copyright" if its an id tag. This is the equivolent to the tag you specified in your html markup for example;

<div id="copyright"> content </div> is a # (id) attribute

<div class="copyright"> content </div> is a . (class) attribute

also "0000" means nothing, it doesnt apply to anything.

correct code (if it is to apply to an id tag for example) should read;

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