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 trialAlcibiades Montas
5,974 PointsIssues with responsive Grid?
Hi guys,
I am trying to recreate the 12 column grid on the CSS foundation videos here. I took up one of the project files and tried to insert two grid-6 columns to create one row that add s up to 12...However there is a space in between the two columns? Could you guys take a look?
here is the project in question:
https://dl.dropboxusercontent.com/u/29317895/AlexResume3.html
4 Answers
Guil Hernandez
Treehouse TeacherEach grid-6
column is 49% wide, so the 2% left over is the "gutter" space.
Jacob Miller
12,466 PointsIn your CSS .grid-6
has a width of 49%. Bump that up to 50% to fix it.
Mark Phillips
13,124 PointsHi Alciblades,
The space between the columns is because the grid-6 class is set to 49%. (See code below) if you change this to 50% the two grid-6 columns will fill 100% of the width of the parent container.
.grid-6 { width: 49%; }
Alcibiades Montas
5,974 PointsThat fix the issue!!! thank you that works!