SyntaxFix
Write A Post
Hire A Developer
Questions
You only need to add text-align: center to your <div>
text-align: center
<div>
In your case also remove both styles that you added to your <p>.
<p>
Check out the demo here: http://jsfiddle.net/76uGE/3/
Good Luck