Skip to content

Instantly share code, notes, and snippets.

emwiles / Bullet proof email button - image free
Created February 9, 2014 14:46
Bullet proof button with Silverpop tracking code - original button code courtesy of @stigm ( NOTE: do not view in design view within Silverpop - button loses its bullet proof-ness.
<div align="center">
<!--[if mso]>
<a href="#" xt="SPCLICK" name="main_article1_outlook" style="color:#E97F1D; text-decoration: underline;" >
<v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="#" style="height:30px;v-text-anchor:middle;width:130px;" arcsize="14%" strokecolor="#fdb515" fillcolor="#E97F1D">
<center style="color:#ffffff;font-family:sans-serif;font-size:13px;font-weight:bold;">Read article</center>
<![endif]--><![if !mso]>
emwiles / Redirect script
Last active August 29, 2015 14:05
Script to force a web page to open a different URL
var h =;
var f = '';
emwiles / Autopopulate Javascript
Last active August 29, 2015 14:04
Autopopulate a form field from an email URL
Email hyperlink:
Landing page fields:
<table cellpadding=0 cellspacing=0 >
<tr><td style="padding: 5px 0px 0px 5px;">
<div style="position: relative; width:250px;" id="fieldID1"><div style="width: 250px;"><div class="fieldLabel" style="width: 250px; margin: 5px 3px; "><span style="color:#265b80; font-family: arial font-size: 12pt"><strong >Field One:<span class="required">*</span></strong></span></div></div><input type="text" name="Field One" id ="fieldID1" label="Field One" class="textInput defaultText" style="margin: 0 3px 5px 3px; height: 20px; width: 200px;"></div></td>
<td width="40px">&nbsp;</td>
emwiles / Erins-Card-o-matic.markdown
Last active August 29, 2015 14:03
Working with Women's Coding Collective to learn a few things about JavaScript.
emwiles / Super small superscript for email
Created February 9, 2014 15:03
Super small superscript for emails - makes sure line height is not exceeded.
<td align="left" style="padding:20px; color:#666; font-size:15px;">
<div style="color:#474747; font-size:17px; mso-line-height-rule:exactly; line-height: 125%;">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.<sup style="font-size: 15px; line-height: 0; vertical-align: 3px">2</sup
emwiles / iOS link styling in emails
Created February 9, 2014 14:50
iOS link styling for HTML emails. Add class in the head and then put span tag around the number, link, or date and voila! You have properly styled links in iOS devices.