div#centerDiv { width: 100%; text-align: center; border: 1px solid red; } ul.centerUL { margin: 2px auto; line-height: 1.4; padding-left: 0; } .centerUL li { display: inline; text-align: center; }
https://stackoverflow.com/questions/2865380/how-do-i-center-align-horizontal-ul-menu
https://habrahabr.ru/sandbox/62257/
https://zaurmag.ru/priemy-verstki-html-css/kak-vy-rovnyat-gorizontal-noe-menyu-sajta-po-tsentru.html