If you are talking about #content then you have set it to 100% wide so it will fill all the way across the parent and cannot be centred. You would need to give a specific width to #content and then use margin:auto as already mentioned.