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

Home Forums CSS Centre align menu Reply To: Centre align menu


You’ve given a float:left to the ul and lis. Floats will not center your navigation. Remove the float from the ul and lis, give the li display:inline-block, and give the property ‘Text-align:center’ to the ul.