Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

CSS How to Make a Website Customizing Colors and Fonts Resize Text

my header border is not extenting across the full website like nick in the video the a small space between sides

can someone help me my code is the exact same as nick in the video but for some reason my header border does not go across the whole page like in the video the follow is the code that apply to the header

 header{
    background: #6ab47b;
    border-color: #599a68;

}
    nav {
    background: #599A68;
}

can you post a snapshot of your workspace

2 Answers

Andres Altuve
Andres Altuve
16,274 Points

Try this:

            header{width:100%; background: #6ab47b; border-color: #599a68;}
            nav { background: #599A68; }

I try this for some reason this didn't work either

I try this for some reason this didn't work either

I try this for some reason this didn't work either

Andres Altuve
Andres Altuve
16,274 Points

Could you please share the html and CSS to try to figure out whats going on..

sure but for some reason every time i try to display it never display properly