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 Adjust the Profile Page and Header

Sandro Meschiari
Sandro Meschiari
18,418 Points

scale picture

hi guys, i'm using different size picture, i would like to be scale all of them at the same size, how can i do this?

3 Answers

Ben Spears
Ben Spears
19,148 Points

If you define the width of the pictures as a percentage, they will take up the same amount of space, However if they have different heights they will not have the same height dimension.

Brenna Leker
Brenna Leker
7,596 Points

Hi Sandro, You can resize your pictures by using the img width and height properties.

Russ Fleharty
seal-mask
.a{fill-rule:evenodd;}techdegree
Russ Fleharty
Python Web Development Techdegree Student 10,815 Points

You can use any picture editing software it should do the trick or only set the width or height, and it will scale them automatically. I think...just an opinion. Hope it helps.