SyntaxFix
Write A Post
Hire A Developer
Questions
I think you can't do that with inline elements like anchor, span. But to make it work you have to set the display to block.
<a href="http://www.example.com" style="text-align:center;display:block;">example</a>