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 Treehouse Club: CSS My First Web Page Comments, Selectors, and Syntax

blerton islamaj
PLUS
blerton islamaj
Courses Plus Student 819 Points

The top bar won't show up after changing the value of pixels!!!

I already changed the value of pixels related to top bar but after refreshing the page , the top bar disappeared!

Billy Bellchambers
Billy Bellchambers
21,689 Points

Blerton it would be helpful if you can include some code for us to review.

Either share a snapshot if working on workspace (icon in top right and share link).

Or post code on here using the Markdown sheet instructions at bottom of this page like so.

          ```html
          <p>This is code!</p>
          ```

3 Answers

Billy Bellchambers
Billy Bellchambers
21,689 Points

Only issue I can see with the code you have provided there is the units on the border width.

To my knowledge 100spx doesn't mean much in css. Please make sure this is correct and either pixels (px) or or appropriate unit such a em or rem.

Hope that helps

html {
    border-top: 100px solid #8a85a5;
}

Should do the trick

Maybe the hexadecimal color doesn´t exist.

Nate Drexler
Nate Drexler
1,883 Points

Hi there. I changed the top bar pixels and color and now my top bar has disappeared.

html { background-color: gray; border-top: 20px solid #black;

}