I change it to block but nothing happened
Did you also apply the
Here’s a codepen. I removed the
display:table and added
margin:0 auto. (I also removed the
height on your
#site-navigation, since it was too short and cut off the menu contents.)
You can take a similar approach to centering your footer.