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 trialdaphnne chacon
860 PointsI assigned my footer a blue background but when I do that, I notice there is a large white space on the left and right.
When I changed the background colour, I noticed that the footer doesn't stretch out across the entire page. There is a space between the left and right side and my footer is in the middle. How do I make it stretch out across the entire page?
2 Answers
Liz Laffitte
23,691 PointsI think Jenny is right, try setting the width to 100%. Also make sure that your left and right margins are set to 0.
Good luck!
Chris Hall
Full Stack JavaScript Techdegree Student 11,442 PointsWith out seeing your code I'm going to guess the footer has padding or a margin assigned to it, or isn't the correct width. Check all three for the footer then work your way up the tree to see if padding or margin has been set.
Jenny Stoffel
20,709 PointsJenny Stoffel
20,709 PointsCan you provide the website?
Usually, If you can find the footer container css in your stylesheet, you can set the width to 100% and that should fix it.