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 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