So you need to build that footer menu on your website and have it neatly centre aligned. Work out the width of the menu in pixels, add that to your <ul> tag in your CSS files and set the margin-left and margin-right to auto. Easy right? But what happens if you can't determine the width of the menu becuase the menu items can be renamed, added or removed by the client? This code will centre your unordered list regardless of the width.