Bulletproof Buttons in Outlook
Master Cross-Platform Email Button Design Techniques
Tutorial Learning Outcomes
VML Implementation
Learn to use Vector Markup Language for Outlook compatibility. Master Microsoft's proprietary solution for email rendering issues.
Cross-Client Buttons
Create buttons that work consistently across all email clients. Ensure professional appearance in desktop Outlook versions.
Best Practices
Understand when to use images versus code for buttons. Apply industry-standard techniques for maximum compatibility.
This hands-on exercise addresses the common challenge of button styling inconsistencies between web email clients and desktop Outlook versions.
File Setup Process
Close Existing Files
Close all open files in your code editor to avoid confusion between different exercise folders.
Navigate to Exercise Folder
Open the Bulletproof Buttons folder located in Desktop > Class Files > yourname-Responsive HTML Email Class.
Open Working File
Launch dogr-launch-email.html from the Bulletproof Buttons folder in your code editor.
Image Buttons vs Code Buttons
Use thick borders and background colors on anchor tags to create fully clickable buttons that maintain reasonable appearance in Outlook while avoiding image dependency issues.
Outlook Rendering Challenge
Microsoft Word Engine
Outlook 2007, 2010, 2013, and 2016 use Word's rendering engine instead of standard web browsers. This causes significant styling limitations.
Design Limitations
Background images and border-radius properties do not work as expected in Word engine versions. Standard CSS techniques fail.
VML Solution
Vector Markup Language provides Microsoft-specific drawing capabilities. Though deprecated, it remains essential for email development.
VML is officially deprecated from Internet Explorer but remains commonly used in HTML email development due to Outlook's continued reliance on the Word rendering engine.
Campaign Monitor Tools
Email Buttons Generator
Available at buttons.cm, this tool generates complete VML code for cross-compatible email buttons with customizable styling options.
Background Images Tool
Located at backgrounds.cm, this utility handles background image compatibility issues across different email clients using VML techniques.
Button Configuration Process
Set Button Properties
Configure text as 'Sign Up', background color #04cc6b, font color #ffffff, dimensions 160x50px, and 10px border radius.
Generate VML Code
The tool automatically creates conditional comments and VML markup that renders only in Outlook's Word engine versions.
Integrate with Existing CSS
Replace the generated inline anchor tag with your existing button class to maintain consistent styling across all email clients.
The completed implementation ensures visual consistency between web email clients and desktop Outlook versions while maintaining full clickability and professional appearance.
Key Takeaways


