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 trialKailash Seshadri
3,087 Points[SOLVED] 2 column doesn't change to 3 column
my 2 column layout just becomes smaller in the screen but doesn't change to 3 columns. what have i typed wrong in my code? link: https://teamtreehouse.com/workspaces/12403142#
rydavim
18,814 PointsInstead of a direct link to your workspace, you'll need to post a workspace snapshot using the camer icon in the top right. Once we can view your code, someone should be able to help you work out the issue you're seeing.
Kailash Seshadri
3,087 Pointsthe link to the snapshot: https://w.trhou.se/e0zewbxjz3 Hope it works now
Poul Larsen
5,902 Pointsyou are missing the li tag in css i put my code answer in bottom
1 Answer
Poul Larsen
5,902 PointsYou CSS code looks like this - you are missing the li tag
/********************************************
PAGE: PORTFOLIO
*********************************************/
#gallery {
width: 28.3333%;
}
Your code should look like this
/**********************************
PAGE: PORTFOLIO
***********************************/
#gallery li {
width: 28.3333%;
}
#gallery li:nth-child(4n) {
clear: left;
}
Kailash Seshadri
3,087 Pointsthanks it works now!!! :)
Youssef Azaaz
2,647 PointsYoussef Azaaz
2,647 PointsThis link dosen't exist