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 trialAmon Dow III
4,086 Pointsmy 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;
}
2 Answers
Andres Altuve
16,274 PointsTry this:
header{width:100%; background: #6ab47b; border-color: #599a68;}
nav { background: #599A68; }
Amon Dow III
4,086 PointsI try this for some reason this didn't work either
Amon Dow III
4,086 PointsI try this for some reason this didn't work either
Amon Dow III
4,086 PointsI try this for some reason this didn't work either
Andres Altuve
16,274 PointsCould you please share the html and CSS to try to figure out whats going on..
Amon Dow III
4,086 Pointssure but for some reason every time i try to display it never display properly
Chyno Deluxe
16,936 PointsChyno Deluxe
16,936 Pointscan you post a snapshot of your workspace