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

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

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.

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

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.