Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.
lindsay foster2,459 Points
5 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.
I would use the developer tools to inspect your elements, when having layout issues.
Graeme Oxley8,919 Points
Without 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.