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 trialBernard Smith
Full Stack JavaScript Techdegree Student 10,367 Pointsright gap
Hello , I cannot get rid of the blank white space on the side of the site could someone help me center all of the floats into the center and also get them further away from the left ?
1 Answer
Steven Parker
231,269 PointsThe containers are set to 80% and 90% in the media queries. Use 100% instead if you want to reduce the white area on the right.
And "float"s don't have a "center" option. For centering items, you might want to use a different technique, like positioning, flexbox, or grid layout. Positioning is covered later in this same course, and there are other courses for both flexbox and grids.
Bernard Smith
Full Stack JavaScript Techdegree Student 10,367 Pointsthanks man much appreciated , it worked perfectly.
Bernard Smith
Full Stack JavaScript Techdegree Student 10,367 PointsBernard Smith
Full Stack JavaScript Techdegree Student 10,367 Pointshttps://w.trhou.se/4i65d4nwln