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 trialTony Brown
Courses Plus Student 1,134 Pointsheader { border-bottom: 5px solid #DF3A01 margin-bottom: 60px; } I can't see my border?
responsive.css
I added a boarder code and it's not showing up? Could in be a problem in my main.css coding or my index.html ?
Tony Brown
Courses Plus Student 1,134 PointsThanks Daniel worked perfectly much appreciated!
4 Answers
James Alker
8,554 PointsYou have left out the semi-colon ( ; ) at the end of the 'border-bottom' declaration to close it.
Fred Sites
11,151 PointsCan you copy and paste the formatted code? Click the markdown cheatsheet link below the comment box to see how to format. You'll use ``` before and after the code to make it more readable.
Cynthia (Sunni) Freyer
828 PointsNeed more info. in order to help.
*Have you used firebug or developer tool to inspect the element?
*What are you trying to do?
- How about providing us both the css and the html in codepen?
- Is this a WP site ? bootstrap?
If the code you have in your title here is reflective of what you have in your css, you should revisit your syntax:
element { border-bottom: 1px solid #000; margin-bottom: xxx;
}
Tony Brown
Courses Plus Student 1,134 Pointsthanks guys i left out a colon after my color.
Daniel Wainright
3,233 PointsDaniel Wainright
3,233 Pointsperhaps you didn't close your border declaration:
header { border-bottom: 5px solid #DF3A01; margin-bottom: 60px; }