HOW TO CENTER YOUR NAVIGATION BAR code example Example: center nav bar css div#nav{ text-align: center; } div#nav ul{ display: inline-block; }