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

Nate Drexler
1,883 PointsMy top bar isn't showing up. I changed the pixel value and the color, and now it won't show up at all.
Here is the code:
html { background-color: gray; border-top: 20px solid #black;
}
2 Answers

Shaikat Haque
3,187 PointsBefore you add any properties to the bar, you have to make it visible by adding 'border-style: solid;' before the 'border-top' property.
Also if you're adding a bar to your web page, you should use a separate div for it.

Daniel Roman
2,867 PointsNot sure what your trying to do but try this? { background-color: gray; border-top: 20px solid #000; } also I do agree with Shaikat separate div