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

DavidPaul sullivan
DavidPaul sullivan
17,377 Points

li pictures with text in columns

I'm trying to get my li into 2 columns to save on scrolling space. I want the text to stay with the image. Any help would be super:

CodePen.io

Robert Mullin
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Robert Mullin
Front End Web Development Techdegree Graduate 22,445 Points

Try adding this and let me know if this is the effect you wanted. .tv_shows{ list-style-type: none; width: 25%; display: flex; justify-content: space-around; }

If you want a true two column layout there are a few ways to do that but I did it with Flexbox. You can see that here:

http://codepen.io/anon/pen/ZevzYp

Good luck.

DavidPaul sullivan
DavidPaul sullivan
17,377 Points

Awesome, thank you Robert! Super helpful!