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
Ryan Schurton
13,815 PointsHelp with alignment
as you can see from the link the last movie the amazing spider is not aligned with the others. any tips on making them all line up?
3 Answers
Luke Lee
7,577 PointsThe Amazing Spider-man 2 takes 2 lines. Give paragraph tag a height, which contains 2 lines of text, then make sure the movie name is always within 2 lines.
.Posterlink p{
height: 50px;
display:block;
}
Justin Cedroni
5,526 PointsWhile I can't provide a specific suggestion, it seems to me that the second line of text is pushing the image down. I would look at adjusting all the text (or text containers) to take up the same vertical space.
Ryan Schurton
13,815 PointsThanks justin, thanks luke that worked.
Ryan Schurton
13,815 PointsRyan Schurton
13,815 Points