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

CSS How to Make a Website Responsive Web Design and Testing Adjust the Profile Page and Header

Tony Brown
PLUS
Tony Brown
Courses Plus Student 1,134 Points

header { 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 ?

perhaps you didn't close your border declaration:

header { border-bottom: 5px solid #DF3A01; margin-bottom: 60px; }

Tony Brown
Tony Brown
Courses Plus Student 1,134 Points

Thanks Daniel worked perfectly much appreciated!

4 Answers

James Alker
James Alker
8,554 Points

You have left out the semi-colon ( ; ) at the end of the 'border-bottom' declaration to close it.

Fred Sites
Fred Sites
11,151 Points

Can 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
Cynthia (Sunni) Freyer
828 Points

Need 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
PLUS
Tony Brown
Courses Plus Student 1,134 Points

thanks guys i left out a colon after my color.