How to align center nav code example Example: menu always center css #nav ul { display: inline-block; list-style-type: none; }