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 CSS: Cascading Style Sheets Center the Wrapper

my background color and underline won't change?

I have double checked everything I can think of and can't seem to figure why my background color and underline will not function after coding.

Can you share you code with us, so we could see if there is anything that needs to be fixed.

4 Answers

Can you post the code in question? Oftentimes when changes I've made aren't working it's because I've forgotten a semi-color or curly brace.

Khaleel Hamid
Khaleel Hamid
5,258 Points

Your code would help us see better, but from that video this is what Nick has done

#wrapper {
     max-width: 940px;
     margin: 0 auto;
     padding: 0 5%;
     background: orange;
}

If this is what you have are you sure your saving the file? Are you misspelling anything? Your code would help us figure this out.

<link rel="stylesheet" href="css/normalize.css"> <link rel="stylesheet" href="css/main.css">

this is from main.css body { background-color: orange; }

can I move on and come back to this section or will not knowing the color changes give me problem later? Thanks for help.