Home › Forums › CSS › Can’t get links to center › Re: Can’t get links to center
July 17, 2013 at 12:30 pm #143372
You really don’t need the float: left on
.mainheader nav ul li
since you already have `inline:block`
also you don’t need the `margin: auto` as you have `text-align:center`
You might also want to remove any default margin & padding from the ul & li. with a reset.