I\'m working on a basic nav bar project, and I\'ve trying to get this list to align center. I\'ve tried using align-content and text-align, but my bar
align-content
text-align
Looks like you just need margin: 0 auto; on the child element.
margin: 0 auto;
JSFiddle
#bannercontent { font-family:'Quicksand:300'; text-align: center; font-size: 25px; } .banner { list-style-type: none; margin: 0 auto; padding: 0; background-color: grey; width: 560px; height: 40px; vertical-align: middle; }