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 CSS Basics (2014) Basic Selectors ID Selectors

no border below footer appearing

something must be wrong with #main-footer as it is not working please help?

```body { color: #878787; margin: 0; }

header { background-color: orange; }

h1 { font-size:: 90px; color: white; }

h2 { font-size: 53px; }

h3 { font-size: 20px; color: #48525c; }

primary-content {

border: 3px solid red; }

main-footer {

padding-top: 60px; padding-bottom: 60px; border-bottom: solid 10px orange; }

```index html:

    <footer id = "main-footer">
        <p>All rights reserved to the state of <a href="#">California</a>.</p>
        <a href="#top">Back to top &raquo;</a>

</body> </html>```

1 Answer

Matthew Long
Matthew Long
28,407 Points

It's a little difficult to read your code both because of how it is laid out and how it is inserted here. Most of all is the way you don't have the code indented between the curly braces.

However, the issue you may be running into is the extra : on font-size for your h1. It should look like the following:

h1 { 
  font-size: 90px; 
  color: white;

I may be missing something else too, but this is what stands out to me at first.

Below is a nice thread on posting code to forums here on treehouse:


Happy coding!