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 CSS Layout Basics Controlling Layout with CSS Display Modes Using Inline-Block to Set Width, Height, Top and Bottom Margin and Padding

Melissa Arneau
Melissa Arneau
5,004 Points

Padding issues with li elements

Hey guys, so currently when I reduce the size of my screen, my li elements aren't in line but instead are all wrapping.

I rewatch all the videos and checked the previous workspaces, but can't find any indications about amending the paddings for them.

Can you please help?

2 Answers

Petter Östergren
Petter Östergren
6,920 Points

Could you share a code example with us, are you doing modifications on your ul, li, or a class associated with your li

Melissa Arneau
Melissa Arneau
5,004 Points

I actually manage to fix the issue and forgot to comment here. Thank you for your help Petter

Melissa Arneau
Melissa Arneau
5,004 Points

It's all sorted now, thank you all