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

CSS

Michael Williamson
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Michael Williamson
Front End Web Development Techdegree Graduate 23,903 Points

div re-sizing when child elements shrink and expand.

my code is there and is happening in the gallery-div class where divs at certain screen pixels become uneven with the other divs.

2 Answers

Robert Manolis
STAFF
Robert Manolis
Treehouse Guest Teacher

Hi Michael,

I see what you are talking about. I think the problem isn't that those divs change size, but rather how they line up when that size change occurs.

Check this out. Here's a couple links that I think will help.

CSS Tricks w3schools

If you still have questions after visiting these links feel free to hit me up with a follow up question.

Robert Manolis
STAFF
Robert Manolis
Treehouse Guest Teacher

You got it. :) Happy to help. But don't forget to upvote and mark best answer if you feel it is appropriate. I know that in the great scheme of things, such a thing matters little, but these votes and points do help to fuel peer based forums like this.

Thanks and happy coding.