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
Santiago Lopez
3,446 PointsIs there something wrong with my code?
I wanted to make borders in my h2 with css in text wrangler but the borders don't appear. h2 { border-style: solid; border-width: 50px; border-top-color: red; border-right-color: blue; border-left-color: lightgreen; border-bottom-color: #0088dd; text-align: center; background-color: purple; color: white; }
1 Answer
sizwengubane
15,244 Pointsdo it like this <blockquotes>
h2 {
border-style: solid;
border-width: 50px;
border-color: red blue #0088dd lightgreen;
text-align: center;
background-color: purple;
color: white;
}
</blockquotes> Please mark my answer as the best if this works
Nicolas Hampton
44,725 PointsNicolas Hampton
44,725 PointsJust remember the curly braces, and check the css rules after this one to make sure nothing is overriding this.