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

HTML How to Make a Website Styling Web Pages and Navigation Style the Image Captions

Harrison Bolin
Harrison Bolin
3,975 Points

Images displaced by paragraph breaks.

Whenever the paragraph breaks, it shoves the list-items below it to the side, making everything off-kilter and de-oriented. Any suggestions?

https://w.trhou.se/zg26omz7p3

1 Answer

Harrison Bolin
Harrison Bolin
3,975 Points

Thanks for the reply! While that would work (I've done that same thing with clients websites before) I was more specifically wondering if there is a way to get this to work without changing image sizes or margins for certain portfolio items. Twitter Bootstrap usually prevents this, but since this course is pure css I was wondering if there was some float or overflow property that would help.

I may try setting the height of the paragraph container element, and simply letting the paragraph overflow the element.