How to get a centered button in email?

·

1 min read

How to get a centered button in email that also works in Outlook… Well here is the code for it.

Quotes.PNG

<center style="width: 100%; min-width: 580px;">
<!–[if mso]>
<v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="http://www.goodreads.com/quotes/tag/buddhism&quot; style="height:40px;v-text-anchor:middle;width:250px;" arcsize="10%" strokecolor="#2C827F" fillcolor="#479795">
<w:anchorlock></w:anchorlock>
<center style="color:#ffffff;font-family: ‘Open Sans’,sans-serif;font-size:13px;font-weight:bold;">Quotes About Buddhism</center>
</v:roundrect>
<![endif]–>
<a href="http://www.goodreads.com/quotes/tag/buddhism&quot; style="border-radius: 4px; color: white !important; display: inline-block; font-family:Open Sans’,sans-serif; font-size: 16px; font-weight: bold; line-height: 40px; text-align: center; text-decoration: none; width: 250px; -webkit-text-size-adjust: none; mso-hide: all; background: #479795; border: 1px solid #2C827F;">Quotes About Buddhism</a>
</center>