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 trialDave Hanna
Courses Plus Student 2,969 PointsNot getting a border color where my name is
My border color is set to green, but comes out white when I refresh the URL.
a {
text-decoration: none;
}
#wrapper {
max-width: 940px;
margin: 0 auto;
padding: 0 5%;
}
#logo {
text-align: center;
margin:0;
}
a {
color: #007ba7;
}
header {
color: #007ba7;
border-color: #599a68;
}
h1, h2 {
color:#007ba7;
}
nav {
background: #599a68;
}
1 Answer
rydavim
18,814 PointsWelcome to Treehouse!
Looks like you haven't defined a border, so setting the color won't have an effect. Try using the border shorthand.
header {
/* border: border-width border-style border-color; */
border: 5px solid #599a68;
}
Hopefully that helps, but please let me know if you have any questions! Happy coding! :)
rydavim
18,814 Pointsrydavim
18,814 PointsI've added some formatting and syntax highlighting for your code. You can do this using the following markdown: