Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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!