Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Can’t get links to center Re: Can’t get links to center

#143372
Paulie_D
Member

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.