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 trialMatthew Keys
1,922 PointsProblem with spacing of images
My images do not grow and shrink to make up 45%. When i make it smaller, it goes smaller (all the images get squished so that i can see all 5 of them). And when i make it bigger, the images do not take up as much space as it does in the video
Bassie Bangura
7,630 Pointshi, make sure you are applying the 45% to the correct containers.
Evan Agee
13,088 PointsCould you share your code? It could be a browser issue or code.
Ben Flores
17,074 PointsDouble check with this answer by Dave McFarland https://teamtreehouse.com/community/margins-and-image-sizes. Make sure your CSS is under the correct selector, make sure you end each CSS declaration with a semi-colon, and that your image has the correct class in the HTML.
Luis Magaña
13,042 PointsLuis Magaña
13,042 PointsA snippet of your code would be helpful.