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

The last image drops down as if there is a 3rd row as I stretch my screen. How do I fix this?

The last image drops down as if there is a 3rd row as I stretch my screen, but as I continue to stretch the screen, it will align itself in the same row as the second to last image as it should. But when I stretch it more, it repeats itself again with the last image by itself in a third row. By the time I've fully expanded the browser, it has aligned itself as it should correctly. How do I go about fixing this glitch?

Actually, please disregard this post. I fixed my mistake, instead of putting

gallery li:nth-child(4n) {

clear: left;

}

I had accidentally put in an equal sign instead of a dash in the syntax above for nth-child.