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

Azzan Al-Rahbi
Azzan Al-Rahbi
1,412 Points

why i can't view the top border and the background

i'am using win10 and google chrome

2 Answers

Steven Parker
Steven Parker
208,481 Points

The pound sign (#) is only used with hexadecimal color codes.

:point_right: Do not use a "#" in front of a color name like "orange".

Azzan Al-Rahbi
Azzan Al-Rahbi
1,412 Points

thanks man i figure it out you where right

Azzan Al-Rahbi
Azzan Al-Rahbi
1,412 Points

/*********************************************** Top bar color ***********************************************/

html { background-color: #fff2db; border-top: 100px solid #ORANGE; }

/*********************************************** Body styling ***********************************************/

body { max-width: 600px; margin: 10 padding: 20px 20px; font-size: 1.3em; line-height: 1.6em; font-family: 'Open Sans', sans-serif; color: #GRAY; font-weight: 300; }

/*********************************************** Image styling ***********************************************/

img { border-radius: 20%; max-width: 340px; }

/*********************************************** Headline styling ***********************************************/ h1 { font-size: 1.5em; line-height: .5em; color: #ORANGE; }

h2 { font-size: 1em; line-height: 1em; font-style: oblique; color: #GRAY;

}

h3 { font-size: .875em; line-height: 1em; font-weight: normal; }

h4 { margin-top: 60px; font-weight: 500; color: #E59400; }