[Solved] Can’t get list to center when using UL


<ul> elements have a default padding-left of 40px. Remove it with padding: 0; or padding-left: 0;.

JSFiddle Example

You can use your browser’s F12 developer tools to inspect elements and their margins or padding in the future.

0

solved Can’t get list to center when using UL