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