center navbar in center of screen code example Example: menu always center css #nav ul { display: inline-block; list-style-type: none; }