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

Code not working in css

copyright {

border-top: 8px solid #2a0400;
padding: 10px 0;
margin: 15px 0;
text-align: center;

}

I've type the above code the same as in the video, yet in my browser window when I refresh the page the code does not work nothing changes. I've saved the page, I even opened the finished CSS file you can download and copy and pasted that piece of code and it still doesn't load correctly. I can't figure out why?

1 Answer

Never mind, I figured out what was wrong. The = sign in my html code was missing from the id line for that tag.