My links won't center no matter what I try

My portfolio page is a work in progress. I’ve tried everything I can think of to center the navbar links when the width is under 700px. The UL has a width and is centered, but the links are not.

What am I missing?

Forgot to include link:
Portfolio page.

Hi @cherylm,

If you share the code of the navbar (HTML and CSS), I could take a look at it and see if I can help.

Sorry, I forgot to include the link:

My portfolio

can you share a codepen?

Hey there,

great work so far!

If you go into your browser developer tools and hover over the ul tag of the navbar,
you will see the purple box on the left side.

This is the default padding of an ul.
It pushes the content of your ul to the right.


Thank you! I put borders around everything to look for what was causing the links to move to the right, but didn’t see that. I need to get in the habit of using the developer tools more.