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 triallindsay foster
2,459 Points5 photos - middle photo is aligning to right, leaving gap on left side in middle row. Is this a sizing issue?
I think it may have to do with my photos not being uniform size, but it seems like an alignment issue because the middle photo is floating on the right.
2 Answers
Arturo Perez
Front End Web Development Techdegree Student 12,902 PointsI would use the developer tools to inspect your elements, when having layout issues.
Graeme Oxley
8,931 PointsWithout seeing code, I would guess that your photos being different sizes is the problem.
Either resize your images to be the same (height at the very least) or adjust your divs accordingly. My images are always set to 100% width, so it's more important to control the height and width of your divs along with overflow:hidden.