/ Published in: CSS
Of course, you don't have to set the width to 50%. Any width less than the containing div will work. The margin: auto is what does the actual centering.
URL: http://stackoverflow.com/questions/114543/how-to-center-div-in-div
URL: http://stackoverflow.com/questions/114543/how-to-center-div-in-div