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 trial

HTML

I have different size images, and when I go below 480px my third image remains in the middle and pushes the rest down.

Even when I use the nth code to clear every third image I cannot solve the issue. My third image remains in the middle and pushes the fourth and fifth down. Can I resize my images or is there a way to fix this using the nth-child code?

1 Answer

Steven Parker
Steven Parker
243,228 Points

Please show your code (formatted for markdown). Or even better, make a snapshot of your workspace and post the link to it here.