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

Design

images not aligned

Not able to get images aligned well in 'portfolio' section

http://pranayaryal.github.io/portfolio/

code in https://github.com/pranayaryal/portfolio

4 Answers

Devin Gray
Devin Gray
39,261 Points

How do you want them aligned? Do you want the images to be cropped and all show the same size? Do you want each row to look the same? Do you want all the descriptions to line up with each other? An explanation would help. :)

Thanks for the reply and for asking for clarifications. I wanted to align the descriptions in one line

Thas Eagans
PLUS
Thas Eagans
Courses Plus Student 2,533 Points

Due to the fact that your images are not all the same size, you're probably not going to get them aligned the way you want.

You do have options:

1. Resize the images.

2. Place them inside containers.

</TREagans>

Thanks.