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 How to Make a Website Responsive Web Design and Testing Responsive Web Design

getting 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

Aaah! I forgot the '%' on my Mac width. Thank you!!

1 Answer

Victor Ngo
Victor Ngo
8,324 Points

Did you make sure to put percentages as their "height" and "width"?

E.g:

            img {
              width: 100%;
              height: 25%;
            }
            ```