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 trialMarcus Massey
784 Pointsgetting the pictures to adjust in size
my pictures are not shrinking with the screen when you change the size. They are still the same size they were when I added them. How can i fix that?
Thanks
1 Answer
Victor Ngo
8,324 PointsDid you make sure to put percentages as their "height" and "width"?
E.g:
img {
width: 100%;
height: 25%;
}
```
Marcus Massey
784 PointsMarcus Massey
784 PointsAaah! I forgot the '%' on my Mac width. Thank you!!