I'm trying to style a button (or a link that looks like a button) for Outlook Classic. Every time I try, the text just gets highlighted and the button looks terrible. It works fine in Outlook New and on mobile, but not in the old version.
Here's a minimal example of what I've tried so far:
<!-- Tried a simple button -->
<button style="background-color: #007BFF; color: white; padding: 10px 20px; border-radius: 5px; border: none;">
Click Me
</button>
<!-- Tried a table-based button -->
<table cellspacing="0" cellpadding="0">
<tr>
<td style="background-color: #007BFF; padding: 10px 20px; border-radius: 5px;">
<a href="#" style="color: white; text-decoration: none;">Click Me</a>
</td>
</tr>
</table>
I've tried using , buttons, padding, inline styles, external CSS, and recommendations from ChatGPT, but nothing seems to work reliably.
What I'm looking for:
- A button that displays correctly in Outlook Classic
- Looks visually appealing, not just highlighted text
- Works with minimal HTML/CSS (ideally email-safe)
- If possible, rounded corners
Any examples or guidance would be greatly appreciated.
border-radiusis not supported in outlook classic. You can use a VMLroundrectwrapper but it is painful to work with. Also, if I remember correctly those VML elements will have resizing handles like when you click on shapes in MSWord when the user somehow focused on it, which is very ugly.