html siganture keeps cutting off
I have 0 html experience but can edit code if its straightforward enough.
The top of my logo/social media icons keeps cutting off on outlook. They don't cut off when I open the email in a browser or through a mobile device. Is there a way to edit the code so that it doesn't cut off? I tried adding padding to the top but it doesn't work. Please help.
Code
<table width="335" cellpadding="0" cellspacing="0" border="0" style="background: none; border-width: 0px; border: 0px; margin: 0; padding: 0;"> <tr> <td style="padding-top: 0; padding-bottom: 0; padding-left: 0px; padding-right: 0;"> <table cellpadding="0" cellspacing="0" border="0" style="background: none; border-width: 0px; border: 0px; margin: 0; padding: 0;"> <tr> <td colspan="2" style="padding-bottom: 2px; color: #515151; font-size: 15px; font-family: Arial, Helvetica, sans-serif;line-height:15px;"> <b>Ryan Milliman </b> </td> </tr> <tr> <td colspan="2" style="padding-bottom: 6px; color: #515151; font-size: 14px; font-family: Arial, Helvetica, sans-serif;line-height:15px;"> <b> <small style="color:#515151;" >Director of Investor Relations</small></b> </td> </tr> <tr> <td colspan="2" style="color: #333333; font-size: 11px; font-family: Arial, Helvetica, sans-serif;padding-bottom:6px;line-height:0px;"> <img src="https://res.cloudinary.com/riya1/image/upload/v1563430617/SIN311/border.png" width="333" height="3" alt="" /> </td> </tr> <tr> <td valign="top" style="vertical-align: top; color: #384241; font-size: 11px; font-family: Arial, Helvetica, sans-serif;padding-bottom:4px;line-height:15px;"> <b style="color:#9d1924;" >O:</b> (800) 735- 9973 </td> <td valign="top" style="vertical-align: top; color: #384241; font-size: 11px; font-family: Arial, Helvetica, sans-serif;padding-bottom:4px;line-height:15px;"> <b style="color:#9d1924;">M:</b> (760) 793- 2933 </td> </tr> <tr> <td valign="top" style="vertical-align: top; color: #384241; font-size: 11px; font-family: Arial, Helvetica, sans-serif;padding-bottom:4px;line-height:15px;"> <b style="color:#9d1924;" >W:</b> www.primior.com </td> <td valign="top" style="vertical-align: top; color: #384241; font-size: 11px; font-family: Arial, Helvetica, sans-serif;padding-bottom:4px;line-height:15px;"> <b style="color:#9d1924;">E:</b> ryan.milliman#primior.com </td> </tr> <tr> <td colspan="2" style="color: #384241; font-size: 11px; font-family: Arial, Helvetica, sans-serif;padding-bottom:6px;"> <b style="color:#9d1924;">A:</b> <img src="https://res.cloudinary.com/riya1/image/upload/v1563430617/SIN311/border.png" width="333" height="3" alt="" /> </td> </tr> <tr> <td valign="top" style="vertical-align: top; color: #384241; font-size: 11px; font-family: Arial, Helvetica, sans-serif;padding-bottom:7px; padding-top:7px;line-height:15px;"> <a href="http://www.primior.com"> <img src="https://res.cloudinary.com/riya1/image/upload/v1563430617/SIN311/logo.png" width="155" height="20" alt="" /> </td> <td valign="top" style="vertical-align: top; color: #384241; font-size: 11px; font-family: Arial, Helvetica, sans-serif;padding-bottom:7px;padding-top:7px;line-height:15px;text-align:right;"> <img width="20" height="20" style="border: none; width: 20px; max-width: 20px !important; height: 20px; max-height: 20px !important;vertical-align:middle;" src="https://res.cloudinary.com/riya1/image/upload/v1563430617/SIN311/fb.png"> <img width="20" height="20" style="border: none; width: 20px; max-width: 20px !important; height: 20px; max-height: 20px !important;vertical-align:middle;" src="https://res.cloudinary.com/riya1/image/upload/v1563430617/SIN311/tw.png"> <img width="20" height="20" style="border: none; width: 20px; max-width: 20px !important; height: 20px; max-height: 20px !important;vertical-align:middle;" src="https://res.cloudinary.com/riya1/image/upload/v1563430617/SIN311/lin.png"> <img width="20" height="20" style="border: none; width: 20px; max-width: 20px !important; height: 20px; max-height: 20px !important;vertical-align:middle;" src="https://res.cloudinary.com/riya1/image/upload/v1563430617/SIN311/ins.png"> </td> </tr> </table> </td> </tr> </table>
Outlook sometimes ignores the width/height of an element.
Try adding width and height to your td where the Image is located.
How can I have an image (little arrow on the right) set next to an anchor tag <a> and keep them both aligned vertically and horizontally. I've been trying this in multiple ways but came across errors with every method I tried. either the <a> tag wont work (not clickable) in html emails or the arrow would be outside the clickable area. I only need one of these following codes .Here's some what Iv'e tried:
First code: the problem here is: if the user clicked on the arrow it wont response, because it's not inside the <a> tag, but this is working
<table cellpadding="0" cellspacing="0" border="0" width="33%" align="right" style="font-family: Arial, Helvetica, sans-serif; text-align: center;">
<tr>
<td>
<table width="100%" border="0" cellpadding="0" cellspacing="0" style="background-color:#007cb0; font-weight: normal;text-align: center;">
<tr>
<td align="left" style="padding: 15px 0px 15px 30px; text-decoration: none; font-size: 11px; text-align: center; font-family: arial, sans-serif; color: #FFFFFF; font-weight: 700; vertical-align: top; line-height: normal !important;">
<a style="font-size: 16px; text-align: center; font-family: arial, sans-serif; color: #FFFFFF; font-weight: 700; cursor: pointer;">Go to Link</a>
</td>
<td align="right" style="text-align: left; color: #FFFFFF; font-weight: 700;"><img src="https://png.icons8.com/metro/50/ffffff/forward.png" width="15"></td>
<td><img src="http://via.placeholder.com/5/007cb0" width="5" /></td>
</tr>
</table>
</td>
</tr>
</table>
Second code: I couldn't get the text vertical aligned within the <td>
<table cellpadding="0" cellspacing="0" border="0" width="33%" align="right" style="font-family: Arial, Helvetica, sans-serif; text-align: center;">
<tr>
<td>
<table width="100%" border="0" cellpadding="0" cellspacing="0" style="background-color:#007cb0; font-weight: normal;text-align: center;">
<tr>
<td height="50" align="left" style="text-decoration: none; font-size: 11px; text-align: center; font-family: arial, sans-serif; color: #FFFFFF; font-weight: 700; vertical-align: top; line-height: 100% !important;">
<a style="height:100%;font-size: 16px; text-align: center; font-family: arial, sans-serif; color: #FFFFFF; font-weight: 700; cursor: pointer; display: block">Go to Link <img src="https://png.icons8.com/metro/50/ffffff/forward.png" width="20" style="vertical-align: middle;"></a>
</td>
</tr>
</table>
</td>
</tr>
</table>
Third code The problem here is: It didn't work in any email client and the link is not clickable.
<table class="mobile" cellpadding="0" cellspacing="0" border="0" width="33%" align="right" style="font-family: Arial, Helvetica, sans-serif;">
<tr>
<td>
<table width="100%" border="0" cellpadding="0" cellspacing="0" style="background-color:#007cb0; font-weight: normal;">
<tr>
<td>
<a style="border: 1px solid red; padding: 20px;display: block; font-size: 16px; text-align: center; font-family: arial, sans-serif; color: #FFFFFF; font-weight: 700; cursor: pointer;">
<table width="100%" border="0" cellpadding="0" cellspacing="0" style="font-size: 16px; text-align: center; font-family: arial, sans-serif; color: #FFFFFF; font-weight: 700; cursor: pointer;">
<tr style="font-size: 16px; text-align: left; font-family: arial, sans-serif; color: #FFFFFF; font-weight: 700; cursor: pointer;">
<td align="left" style="text-decoration: none; font-size: 16px; text-align: center; font-family: arial, sans-serif; color: #FFFFFF; font-weight: 700; vertical-align: top; line-height: normal !important;">
GET VERSATILE
</td>
<td align="right" style="text-align: center; color: #FFFFFF; font-weight: 700;"><img src="https://png.icons8.com/metro/50/ffffff/forward.png" width="15" /></td>
</tr>
</table>
</a>
</td>
</tr>
</table>
</td>
</tr>
</table>
Summaries:
I need this <a> tag to have an arrow next to it and to be Clickable all around the blue area.
Thanks for the help.
This is working in most of email clients, and even if I changed the text inside the anchor tag.
hope that would help.
<table class="mobile" cellpadding="0" cellspacing="0" border="0" width="33%" align="right" style="font-family: Arial, Helvetica, sans-serif;">
<tr>
<td>
<table width="100%" border="0" cellpadding="0" cellspacing="0" style="background-color:#007cb0;font-family: Arial, Helvetica, sans-serif;font-weight: bold;">
<tr>
<td class="links" style="padding: 10px; color: #ffffff; vertical-align: middle; text-align: center; font-family: Arial, Helvetica, sans-serif;font-weight: bold;"><a style="text-align: center; display: block;cursor: pointer;font-family: Arial, Helvetica, sans-serif; color: #ffffff !important; text-decoration: none; font-size: 16px; line-height: 20px; font-weight: bold;" pm-link="landingpage1" pm-link-default-url="global_landingpage">GO TO LINK<img src="http://via.placeholder.com/15/007cb0" width="15" alt="" /><img src="https://png.icons8.com/metro/50/ffffff/forward.png" width="20" style="vertical-align: middle;padding: 0 0 4px 0;max-width: 20px" /></a></td>
</tr>
</table>
</td>
</tr>
</table>
Not sure if you have thought of this but it should be as easy as adding an a tag around the image for the first question.
Try this below and see if it works for you. I have just added your a tag from the sibling td just to give you an idea.
<table cellpadding="0" cellspacing="0" border="0" width="33%" align="right" style="font-family: Arial, Helvetica, sans-serif; text-align: center;">
<tr>
<td>
<table width="100%" border="0" cellpadding="0" cellspacing="0" style="background-color:#007cb0; font-weight: normal;text-align: center;">
<tr>
<td align="left" style="padding: 15px 0px 15px 30px; text-decoration: none; font-size: 11px; text-align: center; font-family: arial, sans-serif; color: #FFFFFF; font-weight: 700; vertical-align: top; line-height: normal !important;">
<a style="font-size: 16px; text-align: center; font-family: arial, sans-serif; color: #FFFFFF; font-weight: 700; cursor: pointer;">Go to Link</a>
</td>
<td align="right" style="text-align: left; color: #FFFFFF; font-weight: 700;"><img src="https://png.icons8.com/metro/50/ffffff/forward.png" width="15"></td>
<td><a style="font-size: 16px; text-align: center; font-family: arial, sans-serif; color: #FFFFFF; font-weight: 700; cursor: pointer;"><img src="http://via.placeholder.com/5/007cb0" width="5" /></a></td>
</tr>
</table>
</td>
</tr>
</table>
Hope this answer works for you.
Edited
Now that I know you're making a button that aligns to the right, I have a better approach for you.
<table role="presentation" cellspacing="0" cellpadding="0" border="0" align="right">
<tr>
<td><!-- The button code -->
<table role="presentation" cellspacing="0" cellpadding="0" border="0">
<tr>
<td style="background: #007cb0; text-align: center;">
<a href="#" target="_blank" style="background: #007cb0;
border: 15px solid #007cb0; font-family: sans-serif; font-size: 16px;
line-height: 110%; text-align: center; text-decoration: none !important;
display: block; font-weight: 700;"><span style="color:#ffffff;"> Go to Link <img src="https://png.icons8.com/metro/50/ffffff/forward.png" width="15">
</span></a>
</td>
</tr>
</table>
</td>
</tr>
</table>
This code will right-align and look presentable in every email client. It does not quite look perfect in Outlook. To do that, you need to add a spacer table specifically for Outlook.
I am deleting the older post and code, but honestly, it's the same thing I posted yesterday with added which gives you a reliable form of padding.
Could you tell why are you using table formatting for making button-styled links? Is that specific for html-email? This seems easier and after some customizing will give the same look:
a {
display: inline-block;
border: 1px solid black;
padding: 10px;
}
Link <span> ❯</span>
OK then just add/adjust margin and padding to make clickable area larger
a{
display: inline-block;
position: relative;
z-index: 1;
padding: 1em;
margin: -1em;
}
td img{
padding-bottom: 5px;
}
https://jsfiddle.net/33q09cy0/
and add the image inside the a tag reference.
<td align="left" style="padding: 15px 0px 15px 30px; text-decoration: none; font-size: 11px; text-align: center; font-family: arial, sans-serif; color: #FFFFFF; font-weight: 700; vertical-align: top; line-height: normal !important;">
<a style="font-size: 16px; text-align: center; font-family: arial, sans-serif; color: #FFFFFF; font-weight: 700; cursor: pointer;">Go to Link</a>
<img src="https://png.icons8.com/metro/50/ffffff/forward.png" width="15">
</td>
I've been having an issue with how outlook has been displaying table HTML for a while now, and I have not been able to resolve this issue for the life of me. Basically, there's a line that cuts through the containing <td> when nesting tables (see the slight gray line in the attached image to the right of the purple <td>).
This is on email's code I've been working with as an example.
<style type="text/css">
#media only screen and (max-width:480px){
.templateColumns{
width: 100% !important;
}
.body-text {
font-size: 16px !important;
}
.body-about-us {
font-size: 15px !important;
}
.center-align {
text-align: center !important;
}
.column-image {
height:auto !important;
max-width:480px !important;
width: 100% !important;
}
.column-container {
display: block !important;
width: 100% !important;
}
.sociologos-container {
text-align: center !important;
margin-left: auto !important;
margin-right: auto !important;
padding-top: 15px !important;
padding-bottom: 5px !important;
}
.mopad-left {
padding-left: 15px !important;
}
.mopad-right {
padding-right: 15px !important;
}
.mopad-top {
padding-top: 15px !important;
}
.mopad-bottom {
padding-bottom: 15px !important;
}
.mopad-button-bottom {
padding-bottom: 30px !important;
}
.nopad-bottom {
padding-bottom: 0 !important;
}
.nopad-top {
padding-top: 0 !important;
}
.nopad-left {
padding-left: 0 !important;
}
.nopad-right {
padding-right: 0 !important;
}
.modisplay-none {
display: none !important;
}
.mainbtn {
max-width: 450px !important;
width: 100% !important;
margin-top: 10px !important;
}
.mainbtn a{
display:block !important;
}
.mobold {
font-weight: bold !important;
}
.heading {
font-size: 32px !important;
line-height: 36px !important;
}
.heading2 {
font-size: 24px !important;
line-height: 28px !important;
}
.heading3 {
font-size: 20px !important;
line-height: 20px !important;
}
.sociologos {
width: 32px !important;
height: 32px !important;
}
.join-us {
text-align: center !important;
}
}
p {margin-bottom: 25px;
margin-top:10px;}
</style>
<body vlink="#421b3e" style="margin:0; padding: 0; background-color:#f2f2f2;"><!--this sets the visited link color, a background color and eliminates any potential auto padding on the page-->
<div style="display:none;font-size:1px;color:#333333;line-height:1px;max-height:0px;max-width:0px;opacity:0;overflow:hidden;">
</div>
<table border="0" cellpadding="0" cellspacing="0" width="100%" height="100%" id="bodytable" style="background-color:#f2f2f2; font-family: Arial, Helvetica, sans-serif;">
<tr>
<td align="center" valign="top" style="padding-top:0px;">
<table border="0" cellpadding="0" cellspacing="0" width="580" class="templateColumns mopad-bottom nopad-top mopad-left mopad-right" style=" background-color: #f2f2f2; padding-top: 0; padding-bottom: 25px; margin:0;">
<!-- start PURPLE HEADER -->
<tr>
<td width="100%" align="center" valign="top" class="templateColumns mopad-left mopad-right mopad-top mopad-bottom" id="logo" style="margin:0; background-color: #f2f2f2; padding-top: 20px; padding-bottom: 20px;">
LOREM IPSUM
</td>
</tr>
<!-- end PURPLE HEADER -->
<!-- start INTRO SECTION -->
<tr>
<td align="center" valign="top" class="templateColumns" width="100%" style="background-color: #ffffff; padding: margin:0;"><img class="column-image" src="http://go.advicentsolutions.com/rs/841-KAP-325/images/FosteringGrowth2016TitleBanner.png" alt="Nurturing Growth" width="580" style="display:block;" /></td>
</tr>
<!-- end INTRO SECTION -->
<!-- start FIRST CONTENT SECTION -->
<tr>
<td width="100%" class="mopad-left mopad-right mkteditable" id="primary-content" style="background-color: #ffffff; font-family: Arial, sans-serif; padding-top:15px; padding-bottom:30px; padding-left:40px; padding-right:40px;">
<!--<h3 class="body-text mopad-right mopad-left" style="font-family: Arial, sans-serif; font-size: 17px; color: #3c3d42; letter-spacing: -.25px; line-height: 1.5em; font-weight: bold; margin:0; padding: 0 0 5px 0; ">Did you know?</h3>-->
<p class="heading2" style="text-align:center; font-size: 28px; color: #3c3d42; line-height: 30px;">lorem ipsum</p>
<p class="margin" style="text-align:center; font-family: Arial, sans-serif; font-size: 16px; color: #727577; line-height: 22px; font-weight: 400; ">lorem ipsum</p>
<table align="center" cellpadding="0" cellspacing="0" width="60%" style="background-color:#6a3757; border-radius: 2px; font-family: Arial, sans-serif; padding:2px; margin: auto;">
<tr>
<td align="center" style="font-family: Arial, sans-serif; color: #ffffff; border-radius: 4px; background-color: #6a3757; padding-top: 10px; padding-bottom: 10px;"><strong>lorem ipsum</strong></td>
</tr>
</table>
</td>
</tr>
<!-- end MAIN CTA BUTTON -->
<!-- start SOCIAL MEDIA SECTION -->
<tr>
<td width="100%" class="templateColumns mopad-bottom mopad-top mopad-left mopad-right" id="social-media" style="font-family: Arial, Helvetica, sans-serif; background-color: #f2f2f2; padding-left: 5px; padding-right: 5px; padding-bottom: 10px; padding-top: 10px; margin:0; ">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="left" valign="middle" class="column-container join-us" width="50%" style="font-family: Arial, sans-serif; font-size: 14px; color: #3c3d42; ">
Join the Community!
</td>
<td aLOREM IPSUM class="column-container" width="50%">
<table cellpadding="0" class="sociologos-container" cellspacing="0" style="font-family: Arial, sans-serif;">
<tr>
<td align="left" class="sociologos" valign="top" style="padding-left: 5px;"><img border="0" style="display: block; padding-left: 5px;" class="sociologos" src="http://www.advicentsolutions.com/images/email/google_42.png" width="32" height="32" alt="Google Plus" /></td>
<td align="left" class="sociologos" valign="top" style="padding-left: 5px;">><img border="0" style="display: block; padding-left: 5px;" class="sociologos" src="http://www.advicentsolutions.com/images/email/twitter_42.png" width="32" height="32" alt="Twitter" /></td>
<td align="left" class="sociologos" valign="top" style="padding-left: 5px;"><img border="0" style="display: block; padding-left: 5px;" class="sociologos" src="http://www.advicentsolutions.com/images/email/facebook_42.png" width="32" height="32" alt="Facebook" /></td>
<td align="left" class="sociologos" valign="top" style="padding-left: 5px;"><img border="0" style="display: block; padding-left: 5px;" class="sociologos" src="http://www.advicentsolutions.com/images/email/linked_42.png" width="32" height="32" alt="LinkedIn" /></td>
<td align="left" class="sociologos" valign="top" style="padding-left: 5px;"><img border="0" class="sociologos" style="display: block; padding-left:5px;" src="http://www.advicentsolutions.com/images/email/youtube_42.png" width="32" height="32" alt="Youtube Channel" /></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<!-- end SOCIAL MEDIA SECTION -->
<!-- start DISCLAIMER -->
<tr>
<td align="left" valign="top" width="100%" class="templateColumns mopad-bottom mopad-top mopad-left mopad-right" id="disclaimer" style="color:#727577; font-size: 12px; font-family: Arial, Helvetica, sans-serif; padding-left: 5px; padding-right:5px; padding-top:10px; margin:0;">
LOREM ISPUM
</td>
</tr>
<!-- end DISCLAIMER -->
</table>
</td>
</tr>
</table>
</body>
It displays fine as HTML, but I send mostly B2B stuff which means we're always trying to optimize for office. Sometimes the sizing of the banner image can affect it, but other than that one factor, when this happens seems completely arbitrary. It's the one Outlook workaround I haven't been able to figure out. Is there something in my code I'm missing?
Finnnaaalllly found the solution about ten min after posting this. Trick was to remove the padding inline css that was tied to the Lorem ipsum text within the table in the code.
I also fixed this in other instances where <p> tags applied to links in the tds also caused issue. Removing the <p> tags around the links within the table and any padding accompanying it fixes the issue.
I've got an Outlook 07/10 table alignment issue that I just can't seem to solve...
Here's what it looks like: http://postimg.org/image/lrizj0h0t/ and obviously the buttons are supposed to line up (ignore the weird text alignment - it's because it's been photoshopped very very quickly for anonymity!!)
I've tried adding extra tables around it, tried making the buttons narrower, tried adding valign to various parts of it (including the table it's in). I thought it might be the 'fun' "Outlook is really Word" rendering issue where it's adding a page break, but doesn't appear to be (in that none of the solutions I'd found to fix that, like adding extra tables to make it separate tables and thus not as long, have worked)
Here's the code (i've not included the html body etc tags, but rest assured, they're there.
<style type="text/css">
body{-webkit-text-size-adjust:none;}
.ReadMsgBody{width:100%;}
.ExternalClass{width:100%;}
.ExternalClass, .ExternalClass p, .ExternalClass span, .ExternalClass font, .ExternalClass td, .ExternalClass div {line-height: 100%;}
#outlook a{padding:0;}
.showonmobile {
display: none!important;
}
#media only screen and (max-width: 480px) {
table[class="main"] {
width: 300px!important;
}
table[class="centermob"] {
text-align: center!important;
width: 300px!important;
}
td[class="hideonmobile"] {
display: none!important;
}
table[class="hideonmobile"] {
display: none!important;
}
tr[class="hideonmobile"] {
display: none!important;
}
img[class="hideonmobile"] {
display: none!important;
}
table[class="showonmobile"] {
display: initial!important;
}
td[class="showonmobile"] {
display: initial!important;
}
img[class="halfwidth"] {
width: 300px!important;
}
table[class="halfwidth"] {
width: 300px!important;
}
td[class="halfwidth"] {
width: 300px!important;
}
table[class="hidespace"] {
display: none!important;
}
table[class="thirdwidth"] {
width: 48%!important;
}
img[class="onethirdleft"] {
width: 48%!important;
}
img[class="onethirdright"] {
width: 48%!important;
}
table[class="thirdwidthcontact"] {
display: none!important;
}
table[class="thirdwidthwhy"] {
width: 300px!important;
}
td[class="centralise"] {
text-align: center;
}
span[class="showlinebreak"] {
display: initial!important;
}
table[class="hidingonweb"] {
display: initial!important;
}
td[class="nav"] {
width: 206px!important;
}
table[class="twocol"] {
width: 300px!important;
}
img[class="oneninethrees"] {
width: 140px!important;
}
table[class="bottombuttonright"] {
width: 140px!important;
float: right!important;
display: inline-block;
}
table[class="bottombuttonleft"] {
width: 140px!important;
float: left!important;
display: inline-block;
}
td[class="bottombuttoninner"] {
width: 82px!important;
font-size: 13px!important;
}
table[class="bottombuttoninner"] {
width: 82px!important;
font-size: 13px!important;
}
td[class="smallerfont"] {
font-size: 13px!important;
}
}
</style>
<table cellpadding="0" cellspacing="0" class="twocol" style="width: 620px; background-color: #ffffff; border-collapse: collapse; empty-cells: show;">
<tbody>
<tr>
<td valign="top" align="center">
<table align="left" class="bottombuttonleft" border="0" cellpadding="0" cellspacing="0" style="empty-cells: show; border-collapse: collapse; margin: 0; font-family: 'HelveticaNeue-CondensedBold', 'Arial Narrow', Arial, Helvetica, sans-serif; font-size: 16px; text-align: center; max-width:195px; color: #ffffff; width:195px; mso-table-lspace:0pt; mso-table-rspace:0pt; background-color: #ffffff;" width="195">
<tbody>
<tr>
<td align="left" valign="top" height="40" width="22">
<p style="mso-table-lspace:0;mso-table-rspace:0;margin:0;"><img height="40" src="ctaleftwhite.jpg" style="width: 22px; margin: 0; border: 0; padding: 0; text-decoration: none; height: 40px;" width="22" /> </p>
</td>
<td class="bottombuttoninner" align="left" valign="top" height="40" width="137">
<table class="bottombuttoninner" border="0" cellpadding="0" cellspacing="0" height="40" style="border-collapse: collapse; margin: 0; border: 0; padding: 0; font-family: 'HelveticaNeue-CondensedBold', 'Arial Narrow', Arial, Helvetica, sans-serif; font-size: 16px; text-align: center; color: #ffffff; height: 40px; background-color: #ec6608; mso-table-lspace:0pt; mso-table-rspace:0pt;" valign="middle" width="137">
<tbody>
<tr>
<td class="smallerfont" height="40" style="height: 40px; font-family: 'HelveticaNeue-CondensedBold', 'Arial Narrow', Arial, Helvetica, sans-serif; font-size: 16px; text-align: center; color: #ffffff; background-color: #ec6608; mso-line-height-rule: exactly; line-height: 16px;">
<p style="mso-table-lspace:0;mso-table-rspace:0;margin:0;">Text here</p>
</td>
</tr>
</tbody>
</table>
</td>
<td align="left" valign="top" height="40" width="36">
<p style="mso-table-lspace:0;mso-table-rspace:0;margin:0;"><img height="40" src="ctarightwhite.jpg" style="width: 36px; margin: 0; border: 0; padding: 0; text-decoration: none; height: 40px;" width="36" /> </p>
</td>
</tr>
<tr><td colspan="3" style="font-size: 15px; background-color: #ffffff;"> </td></tr>
</tbody>
</table>
<table align="left" width="17" style="font-size: 15px;"><tr><td> </td></tr></table>
<!--[if mso]></td><td><![endif]-->
<table align="left" class="bottombuttonright" border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse; margin: 0; font-family: 'HelveticaNeue-CondensedBold', 'Arial Narrow', Arial, Helvetica, sans-serif; font-size: 16px; text-align: center; max-width:195px; color: #ffffff; width:195px; mso-table-lspace:0pt; mso-table-rspace:0pt; background-color: #ffffff;" width="195">
<tbody>
<tr>
<td align="left" valign="top" height="40" width="22">
<p style="mso-table-lspace:0;mso-table-rspace:0;margin:0;"><img height="40" src="ctaleftwhite.jpg" style="width: 22px; margin: 0; border: 0; padding: 0; text-decoration: none; height: 40px;" width="22" /> </p>
</td>
<td class="bottombuttoninner" align="left" valign="top" height="40" width="137">
<table class="bottombuttoninner" border="0" cellpadding="0" cellspacing="0" height="40" style="border-collapse: collapse; margin: 0; border: 0; padding: 0; font-family: 'HelveticaNeue-CondensedBold', 'Arial Narrow', Arial, Helvetica, sans-serif; font-size: 16px; text-align: center; color: #ffffff; height: 40px; background-color: #ec6608; mso-table-lspace:0pt; mso-table-rspace:0pt;" valign="middle" width="137">
<tbody>
<tr>
<td class="smallerfont" height="40" style="height: 40px; font-family: 'HelveticaNeue-CondensedBold', 'Arial Narrow', Arial, Helvetica, sans-serif; font-size: 16px; text-align: center; color: #ffffff; background-color: #ec6608; mso-line-height-rule: exactly; line-height: 16px;">
<p style="mso-table-lspace:0;mso-table-rspace:0;margin:0;">Text here</p>
</td>
</tr>
</tbody>
</table>
</td>
<td align="left" valign="top" height="40" width="36">
<p style="mso-table-lspace:0;mso-table-rspace:0;margin:0;"><img height="40" src="ctarightwhite.jpg" style="width: 36px; margin: 0; border: 0; padding: 0; text-decoration: none; height: 40px;" width="36" /> </p>
</td>
</tr>
<tr><td colspan="3" style="font-size: 15px; background-color: #ffffff;"> </td></tr>
</tbody>
</table>
<table class="hideonmobile" align="left" width="17" style="font-size: 15px;"><tr><td> </td></tr></table>
<!--[if mso]></td><td><![endif]-->
<table align="left" class="bottombuttonleft" border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse; margin: 0; font-family: 'HelveticaNeue-CondensedBold', 'Arial Narrow', Arial, Helvetica, sans-serif; font-size: 16px; text-align: center; max-width:195px; color: #ffffff; width:195px; mso-table-lspace:0pt; mso-table-rspace:0pt; background-color: #ffffff;" width="195">
<tbody>
<tr>
<td align="left" valign="top" height="40" width="22">
<p style="mso-table-lspace:0;mso-table-rspace:0;margin:0;"><img height="40" src="ctaleftwhite.jpg" style="width: 22px; margin: 0; border: 0; padding: 0; text-decoration: none; height: 40px;" width="22" /> </p>
</td>
<td class="bottombuttoninner" align="left" valign="top" height="40" width="137">
<table class="bottombuttoninner" border="0" cellpadding="0" cellspacing="0" height="40" style="border-collapse: collapse; margin: 0; border: 0; padding: 0; font-family: 'HelveticaNeue-CondensedBold', 'Arial Narrow', Arial, Helvetica, sans-serif; font-size: 16px; text-align: center; color: #ffffff; height: 40px; background-color: #ec6608; mso-table-lspace:0pt; mso-table-rspace:0pt;" valign="middle" width="137">
<tbody>
<tr>
<td class="smallerfont" height="40" style="height: 40px; font-family: 'HelveticaNeue-CondensedBold', 'Arial Narrow', Arial, Helvetica, sans-serif; font-size: 16px; text-align: center; color: #ffffff; background-color: #ec6608; mso-line-height-rule: exactly; line-height: 16px;">
<p style="mso-table-lspace:0;mso-table-rspace:0;margin:0;">Text here</p>
</td>
</tr>
</tbody>
</table>
</td>
<td align="left" valign="top" height="40" width="36">
<p style="mso-table-lspace:0;mso-table-rspace:0;margin:0;"><img height="40" src="ctarightwhite.jpg" style="width: 36px; margin: 0; border: 0; padding: 0; text-decoration: none; height: 40px;" width="36" /> </p>
</td>
</tr>
<tr><td colspan="3" style="font-size: 15px; background-color: #ffffff;"> </td></tr>
</tbody>
</table>
<table align="left" class="showonmobile" width="20" style="font-size: 15px;"><tr><td> </td></tr></table>
<!--[if mso]></td></tr><tr><td><![endif]-->
<table align="left" class="bottombuttonleft" border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse; margin: 0; font-family: 'HelveticaNeue-CondensedBold', 'Arial Narrow', Arial, Helvetica, sans-serif; font-size: 16px; text-align: center; max-width:195px; color: #ffffff; width:195px; mso-table-lspace:0pt; mso-table-rspace:0pt; background-color: #ffffff;" width="195">
<tbody>
<tr>
<td align="left" valign="top" height="40" width="22">
<p style="mso-table-lspace:0;mso-table-rspace:0;margin:0;"><img height="40" src="ctaleftwhite.jpg" style="width: 22px; margin: 0; border: 0; padding: 0; text-decoration: none; height: 40px;" width="22" /> </p>
</td>
<td class="bottombuttoninner" align="left" valign="top" height="40" width="137">
<table class="bottombuttoninner" border="0" cellpadding="0" cellspacing="0" height="40" style="border-collapse: collapse; margin: 0; border: 0; padding: 0; font-family: 'HelveticaNeue-CondensedBold', 'Arial Narrow', Arial, Helvetica, sans-serif; font-size: 16px; text-align: center; color: #ffffff; height: 40px; background-color: #ec6608; mso-table-lspace:0pt; mso-table-rspace:0pt;" valign="middle" width="137">
<tbody>
<tr>
<td class="smallerfont" height="40" style="height: 40px; font-family: 'HelveticaNeue-CondensedBold', 'Arial Narrow', Arial, Helvetica, sans-serif; font-size: 16px; text-align: center; color: #ffffff; background-color: #ec6608; mso-line-height-rule: exactly; line-height: 16px;">
<p style="mso-table-lspace:0;mso-table-rspace:0;margin:0;">Text here</p>
</td>
</tr>
</tbody>
</table>
</td>
<td align="left" valign="top" height="40" width="36">
<p style="mso-table-lspace:0;mso-table-rspace:0;margin:0;"><img height="40" src="ctarightwhite.jpg" style="width: 36px; margin: 0; border: 0; padding: 0; text-decoration: none; height: 40px;" width="36" /> </p>
</td>
</tr>
<tr><td colspan="3" style="font-size: 15px; background-color: #ffffff;"> </td></tr>
</tbody>
</table>
<table class="hideonmobile" align="left" width="17" style="font-size: 15px;"><tr><td> </td></tr></table>
<!--[if mso]></td><td><![endif]-->
<table align="left" class="bottombuttonright" border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse; margin: 0; font-family: 'HelveticaNeue-CondensedBold', 'Arial Narrow', Arial, Helvetica, sans-serif; font-size: 16px; text-align: center; max-width:195px; color: #ffffff; width:195px; mso-table-lspace:0pt; mso-table-rspace:0pt; background-color: #ffffff;" width="195">
<tbody>
<tr>
<td align="left" valign="top" height="40" width="22">
<p style="mso-table-lspace:0;mso-table-rspace:0;margin:0;"><img height="40" src="ctaleftwhite.jpg" style="width: 22px; margin: 0; border: 0; padding: 0; text-decoration: none; height: 40px;" width="22" /> </p>
</td>
<td class="bottombuttoninner" align="left" valign="top" height="40" width="137">
<table class="bottombuttoninner" border="0" cellpadding="0" cellspacing="0" height="40" style="border-collapse: collapse; margin: 0; border: 0; padding: 0; font-family: 'HelveticaNeue-CondensedBold', 'Arial Narrow', Arial, Helvetica, sans-serif; font-size: 16px; text-align: center; color: #ffffff; height: 40px; background-color: #ec6608; mso-table-lspace:0pt; mso-table-rspace:0pt;" valign="middle" width="137">
<tbody>
<tr>
<td class="smallerfont" height="40" style="height: 40px; font-family: 'HelveticaNeue-CondensedBold', 'Arial Narrow', Arial, Helvetica, sans-serif; font-size: 16px; text-align: center; color: #ffffff; background-color: #ec6608; mso-line-height-rule: exactly; line-height: 16px;">
<p style="mso-table-lspace:0;mso-table-rspace:0;margin:0;">Text here</p>
</td>
</tr>
</tbody>
</table>
</td>
<td align="left" valign="top" height="40" width="36">
<p style="mso-table-lspace:0;mso-table-rspace:0;margin:0;"><img height="40" src="ctarightwhite.jpg" style="width: 36px; margin: 0; border: 0; padding: 0; text-decoration: none; height: 40px;" width="36" /> </p>
</td>
</tr>
<tr><td colspan="3" style="font-size: 15px; background-color: #ffffff;"> </td></tr>
</tbody>
</table>
<table class="hideonmobile" align="left" width="17" style="font-size: 15px;"><tr><td> </td></tr></table>
<!--[if mso]></td><td><![endif]-->
<table height="55" align="left" valign="top" class="bottombuttonleft" border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse; margin: 0; font-family: 'HelveticaNeue-CondensedBold', 'Arial Narrow', Arial, Helvetica, sans-serif; font-size: 16px; text-align: center; max-width:193px; color: #ffffff; width:193px; mso-table-lspace:0pt; mso-table-rspace:0pt; background-color: #ffffff;" width="193">
<tbody>
<tr>
<td align="left" valign="top" height="40" width="22">
<p style="mso-table-lspace:0;mso-table-rspace:0;margin:0;"><img height="40" src="ctaleftwhite.jpg" style="width: 22px; margin: 0; border: 0; padding: 0; text-decoration: none; height: 40px;" width="22" /> </p>
</td>
<td class="bottombuttoninner" align="left" valign="top" height="40" width="135">
<table class="bottombuttoninner" border="0" cellpadding="0" cellspacing="0" height="40" style="border-collapse: collapse; margin: 0; border: 0; padding: 0; font-family: 'HelveticaNeue-CondensedBold', 'Arial Narrow', Arial, Helvetica, sans-serif; font-size: 16px; text-align: center; color: #ffffff; height: 40px; background-color: #ec6608; mso-table-lspace:0pt; mso-table-rspace:0pt;" valign="middle" width="135">
<tbody>
<tr>
<td class="smallerfont" height="40" style="height: 40px; font-family: 'HelveticaNeue-CondensedBold', 'Arial Narrow', Arial, Helvetica, sans-serif; font-size: 16px; text-align: center; color: #ffffff; background-color: #ec6608; mso-line-height-rule: exactly; line-height: 16px;">
<p style="mso-table-lspace:0;mso-table-rspace:0;margin:0;">Text here</p>
</td>
</tr>
</tbody>
</table>
</td>
<td align="left" valign="top" height="40" width="36">
<p style="mso-table-lspace:0;mso-table-rspace:0;margin:0;"><img height="40" src="ctarightwhite.jpg" style="width: 36px; margin: 0; border: 0; padding: 0; text-decoration: none; height: 40px;" width="36" /> </p>
</td>
</tr>
<tr><td colspan="3" style="font-size: 15px; background-color: #ffffff;"> </td></tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
Any ideas gratefully received!!
You need to put tds around all elements for outlook. There are several points at which you just have 2 table elements in one td. Another problem with Outlook is you can't completely hide a table, so even the showonmobile table you have needs to be in its own td.
I noticed you used <!--[if mso]> to add your tds for outlook. You should just have tds on all platforms as it's good practice for emails.
Here's the amended code (using <!--[if mso]> for the tds):
<table cellpadding="0" cellspacing="0" class="twocol" style="width: 620px; background-color: #ffffff; border-collapse: collapse; empty-cells: show;">
<tbody>
<tr>
<td valign="top" align="center">
<table align="left" class="bottombuttonleft" border="0" cellpadding="0" cellspacing="0" style="empty-cells: show; border-collapse: collapse; margin: 0; font-family: 'HelveticaNeue-CondensedBold', 'Arial Narrow', Arial, Helvetica, sans-serif; font-size: 16px; text-align: center; max-width:195px; color: #ffffff; width:195px; mso-table-lspace:0pt; mso-table-rspace:0pt; background-color: #ffffff;" width="195">
<tbody>
<tr>
<td align="left" valign="top" height="40" width="22">
<p style="mso-table-lspace:0;mso-table-rspace:0;margin:0;"><img height="40" src="ctaleftwhite.jpg" style="width: 22px; margin: 0; border: 0; padding: 0; text-decoration: none; height: 40px;" width="22" /> </p>
</td>
<td class="bottombuttoninner" align="left" valign="top" height="40" width="137">
<table class="bottombuttoninner" border="0" cellpadding="0" cellspacing="0" height="40" style="border-collapse: collapse; margin: 0; border: 0; padding: 0; font-family: 'HelveticaNeue-CondensedBold', 'Arial Narrow', Arial, Helvetica, sans-serif; font-size: 16px; text-align: center; color: #ffffff; height: 40px; background-color: #ec6608; mso-table-lspace:0pt; mso-table-rspace:0pt;" valign="middle" width="137">
<tbody>
<tr>
<td class="smallerfont" height="40" style="height: 40px; font-family: 'HelveticaNeue-CondensedBold', 'Arial Narrow', Arial, Helvetica, sans-serif; font-size: 16px; text-align: center; color: #ffffff; background-color: #ec6608; mso-line-height-rule: exactly; line-height: 16px;">
<p style="mso-table-lspace:0;mso-table-rspace:0;margin:0;">Text here</p>
</td>
</tr>
</tbody>
</table>
</td>
<td align="left" valign="top" height="40" width="36">
<p style="mso-table-lspace:0;mso-table-rspace:0;margin:0;"><img height="40" src="ctarightwhite.jpg" style="width: 36px; margin: 0; border: 0; padding: 0; text-decoration: none; height: 40px;" width="36" /> </p>
</td>
</tr>
<tr><td colspan="3" style="font-size: 15px; background-color: #ffffff;"> </td></tr>
</tbody>
</table>
<!--[if mso]></td><td><![endif]-->
<table align="left" width="17" style="font-size: 15px;"><tr><td> </td></tr></table>
<!--[if mso]></td><td><![endif]-->
<table align="left" class="bottombuttonright" border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse; margin: 0; font-family: 'HelveticaNeue-CondensedBold', 'Arial Narrow', Arial, Helvetica, sans-serif; font-size: 16px; text-align: center; max-width:195px; color: #ffffff; width:195px; mso-table-lspace:0pt; mso-table-rspace:0pt; background-color: #ffffff;" width="195">
<tbody>
<tr>
<td align="left" valign="top" height="40" width="22">
<p style="mso-table-lspace:0;mso-table-rspace:0;margin:0;"><img height="40" src="ctaleftwhite.jpg" style="width: 22px; margin: 0; border: 0; padding: 0; text-decoration: none; height: 40px;" width="22" /> </p>
</td>
<td class="bottombuttoninner" align="left" valign="top" height="40" width="137">
<table class="bottombuttoninner" border="0" cellpadding="0" cellspacing="0" height="40" style="border-collapse: collapse; margin: 0; border: 0; padding: 0; font-family: 'HelveticaNeue-CondensedBold', 'Arial Narrow', Arial, Helvetica, sans-serif; font-size: 16px; text-align: center; color: #ffffff; height: 40px; background-color: #ec6608; mso-table-lspace:0pt; mso-table-rspace:0pt;" valign="middle" width="137">
<tbody>
<tr>
<td class="smallerfont" height="40" style="height: 40px; font-family: 'HelveticaNeue-CondensedBold', 'Arial Narrow', Arial, Helvetica, sans-serif; font-size: 16px; text-align: center; color: #ffffff; background-color: #ec6608; mso-line-height-rule: exactly; line-height: 16px;">
<p style="mso-table-lspace:0;mso-table-rspace:0;margin:0;">Text here</p>
</td>
</tr>
</tbody>
</table>
</td>
<td align="left" valign="top" height="40" width="36">
<p style="mso-table-lspace:0;mso-table-rspace:0;margin:0;"><img height="40" src="ctarightwhite.jpg" style="width: 36px; margin: 0; border: 0; padding: 0; text-decoration: none; height: 40px;" width="36" /> </p>
</td>
</tr>
<tr><td colspan="3" style="font-size: 15px; background-color: #ffffff;"> </td></tr>
</tbody>
</table>
<!--[if mso]></td><td><![endif]-->
<table class="hideonmobile" align="left" width="17" style="font-size: 15px;"><tr><td> </td></tr></table>
<!--[if mso]></td><td><![endif]-->
<table align="left" class="bottombuttonleft" border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse; margin: 0; font-family: 'HelveticaNeue-CondensedBold', 'Arial Narrow', Arial, Helvetica, sans-serif; font-size: 16px; text-align: center; max-width:195px; color: #ffffff; width:195px; mso-table-lspace:0pt; mso-table-rspace:0pt; background-color: #ffffff;" width="195">
<tbody>
<tr>
<td align="left" valign="top" height="40" width="22">
<p style="mso-table-lspace:0;mso-table-rspace:0;margin:0;"><img height="40" src="ctaleftwhite.jpg" style="width: 22px; margin: 0; border: 0; padding: 0; text-decoration: none; height: 40px;" width="22" /> </p>
</td>
<td class="bottombuttoninner" align="left" valign="top" height="40" width="137">
<table class="bottombuttoninner" border="0" cellpadding="0" cellspacing="0" height="40" style="border-collapse: collapse; margin: 0; border: 0; padding: 0; font-family: 'HelveticaNeue-CondensedBold', 'Arial Narrow', Arial, Helvetica, sans-serif; font-size: 16px; text-align: center; color: #ffffff; height: 40px; background-color: #ec6608; mso-table-lspace:0pt; mso-table-rspace:0pt;" valign="middle" width="137">
<tbody>
<tr>
<td class="smallerfont" height="40" style="height: 40px; font-family: 'HelveticaNeue-CondensedBold', 'Arial Narrow', Arial, Helvetica, sans-serif; font-size: 16px; text-align: center; color: #ffffff; background-color: #ec6608; mso-line-height-rule: exactly; line-height: 16px;">
<p style="mso-table-lspace:0;mso-table-rspace:0;margin:0;">Text here</p>
</td>
</tr>
</tbody>
</table>
</td>
<td align="left" valign="top" height="40" width="36">
<p style="mso-table-lspace:0;mso-table-rspace:0;margin:0;"><img height="40" src="ctarightwhite.jpg" style="width: 36px; margin: 0; border: 0; padding: 0; text-decoration: none; height: 40px;" width="36" /> </p>
</td>
</tr>
<tr><td colspan="3" style="font-size: 15px; background-color: #ffffff;"> </td></tr>
</tbody>
</table>
<!--[if mso]></td><td><![endif]-->
<table align="left" class="showonmobile" width="20" style="font-size: 15px;"><tr><td> </td></tr></table>
<!--[if mso]></td></tr><tr><td><![endif]-->
<table align="left" class="bottombuttonleft" border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse; margin: 0; font-family: 'HelveticaNeue-CondensedBold', 'Arial Narrow', Arial, Helvetica, sans-serif; font-size: 16px; text-align: center; max-width:195px; color: #ffffff; width:195px; mso-table-lspace:0pt; mso-table-rspace:0pt; background-color: #ffffff;" width="195">
<tbody>
<tr>
<td align="left" valign="top" height="40" width="22">
<p style="mso-table-lspace:0;mso-table-rspace:0;margin:0;"><img height="40" src="ctaleftwhite.jpg" style="width: 22px; margin: 0; border: 0; padding: 0; text-decoration: none; height: 40px;" width="22" /> </p>
</td>
<td class="bottombuttoninner" align="left" valign="top" height="40" width="137">
<table class="bottombuttoninner" border="0" cellpadding="0" cellspacing="0" height="40" style="border-collapse: collapse; margin: 0; border: 0; padding: 0; font-family: 'HelveticaNeue-CondensedBold', 'Arial Narrow', Arial, Helvetica, sans-serif; font-size: 16px; text-align: center; color: #ffffff; height: 40px; background-color: #ec6608; mso-table-lspace:0pt; mso-table-rspace:0pt;" valign="middle" width="137">
<tbody>
<tr>
<td class="smallerfont" height="40" style="height: 40px; font-family: 'HelveticaNeue-CondensedBold', 'Arial Narrow', Arial, Helvetica, sans-serif; font-size: 16px; text-align: center; color: #ffffff; background-color: #ec6608; mso-line-height-rule: exactly; line-height: 16px;">
<p style="mso-table-lspace:0;mso-table-rspace:0;margin:0;">Text here</p>
</td>
</tr>
</tbody>
</table>
</td>
<td align="left" valign="top" height="40" width="36">
<p style="mso-table-lspace:0;mso-table-rspace:0;margin:0;"><img height="40" src="ctarightwhite.jpg" style="width: 36px; margin: 0; border: 0; padding: 0; text-decoration: none; height: 40px;" width="36" /> </p>
</td>
</tr>
<tr><td colspan="3" style="font-size: 15px; background-color: #ffffff;"> </td></tr>
</tbody>
</table>
<!--[if mso]></td><td><![endif]-->
<table class="hideonmobile" align="left" width="17" style="font-size: 15px;"><tr><td> </td></tr></table>
<!--[if mso]></td><td><![endif]-->
<table align="left" class="bottombuttonright" border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse; margin: 0; font-family: 'HelveticaNeue-CondensedBold', 'Arial Narrow', Arial, Helvetica, sans-serif; font-size: 16px; text-align: center; max-width:195px; color: #ffffff; width:195px; mso-table-lspace:0pt; mso-table-rspace:0pt; background-color: #ffffff;" width="195">
<tbody>
<tr>
<td align="left" valign="top" height="40" width="22">
<p style="mso-table-lspace:0;mso-table-rspace:0;margin:0;"><img height="40" src="ctaleftwhite.jpg" style="width: 22px; margin: 0; border: 0; padding: 0; text-decoration: none; height: 40px;" width="22" /> </p>
</td>
<td class="bottombuttoninner" align="left" valign="top" height="40" width="137">
<table class="bottombuttoninner" border="0" cellpadding="0" cellspacing="0" height="40" style="border-collapse: collapse; margin: 0; border: 0; padding: 0; font-family: 'HelveticaNeue-CondensedBold', 'Arial Narrow', Arial, Helvetica, sans-serif; font-size: 16px; text-align: center; color: #ffffff; height: 40px; background-color: #ec6608; mso-table-lspace:0pt; mso-table-rspace:0pt;" valign="middle" width="137">
<tbody>
<tr>
<td class="smallerfont" height="40" style="height: 40px; font-family: 'HelveticaNeue-CondensedBold', 'Arial Narrow', Arial, Helvetica, sans-serif; font-size: 16px; text-align: center; color: #ffffff; background-color: #ec6608; mso-line-height-rule: exactly; line-height: 16px;">
<p style="mso-table-lspace:0;mso-table-rspace:0;margin:0;">Text here</p>
</td>
</tr>
</tbody>
</table>
</td>
<td align="left" valign="top" height="40" width="36">
<p style="mso-table-lspace:0;mso-table-rspace:0;margin:0;"><img height="40" src="ctarightwhite.jpg" style="width: 36px; margin: 0; border: 0; padding: 0; text-decoration: none; height: 40px;" width="36" /> </p>
</td>
</tr>
<tr><td colspan="3" style="font-size: 15px; background-color: #ffffff;"> </td></tr>
</tbody>
</table>
<!--[if mso]></td><td><![endif]-->
<table class="hideonmobile" align="left" width="17" style="font-size: 15px;"><tr><td> </td></tr></table>
<!--[if mso]></td><td><![endif]-->
<table height="55" align="left" valign="top" class="bottombuttonleft" border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse; margin: 0; font-family: 'HelveticaNeue-CondensedBold', 'Arial Narrow', Arial, Helvetica, sans-serif; font-size: 16px; text-align: center; max-width:193px; color: #ffffff; width:193px; mso-table-lspace:0pt; mso-table-rspace:0pt; background-color: #ffffff;" width="193">
<tbody>
<tr>
<td align="left" valign="top" height="40" width="22">
<p style="mso-table-lspace:0;mso-table-rspace:0;margin:0;"><img height="40" src="ctaleftwhite.jpg" style="width: 22px; margin: 0; border: 0; padding: 0; text-decoration: none; height: 40px;" width="22" /> </p>
</td>
<td class="bottombuttoninner" align="left" valign="top" height="40" width="135">
<table class="bottombuttoninner" border="0" cellpadding="0" cellspacing="0" height="40" style="border-collapse: collapse; margin: 0; border: 0; padding: 0; font-family: 'HelveticaNeue-CondensedBold', 'Arial Narrow', Arial, Helvetica, sans-serif; font-size: 16px; text-align: center; color: #ffffff; height: 40px; background-color: #ec6608; mso-table-lspace:0pt; mso-table-rspace:0pt;" valign="middle" width="135">
<tbody>
<tr>
<td class="smallerfont" height="40" style="height: 40px; font-family: 'HelveticaNeue-CondensedBold', 'Arial Narrow', Arial, Helvetica, sans-serif; font-size: 16px; text-align: center; color: #ffffff; background-color: #ec6608; mso-line-height-rule: exactly; line-height: 16px;">
<p style="mso-table-lspace:0;mso-table-rspace:0;margin:0;">Text here</p>
</td>
</tr>
</tbody>
</table>
</td>
<td align="left" valign="top" height="40" width="36">
<p style="mso-table-lspace:0;mso-table-rspace:0;margin:0;"><img height="40" src="ctarightwhite.jpg" style="width: 36px; margin: 0; border: 0; padding: 0; text-decoration: none; height: 40px;" width="36" /> </p>
</td>
</tr>
<tr><td colspan="3" style="font-size: 15px; background-color: #ffffff;"> </td></tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
I'm trying to create four evenly-spaced <table> cells but for some reason, I am having a little difficulty doing this (even though I have set certain widths for them).
An example can be seen below, where the second cell appears larger than the others:
<tr>
<td style="width: 100%; padding: 0px 20px 0px 20px;" cellspacing="0" cellpadding="20" border="0" colspan="12" align="center">
<table style="width: 600px; border-collapse: collapse; border: 1px solid orange;" cellspacing="0" cellpadding="20" border="0" colspan="12" align="center">
<tbody cellspacing="0" cellpadding="0" border="0" colspan="12" align="center" style="width: 100%;" width="100%">
<tr cellspacing="0" cellpadding="0" border="0" colspan="12" align="center" style="width: 100%;" width="100%">
<td cellspacing="0" cellpadding="0" width="148" style="width: 148px; color: #1F1F1F; text-align: center; border: 1px solid orange; font-family: Helvetica, Arial, Verdana; font-size: 8px; letter-spacing: 1.5px; text-transform: uppercase;" >
<img src="http://dummyimage.com/50x50/000/fff.jpg&text=Icon" alt="Bullhorn Icon" width="50" height="50" /><br />
<p style="font-family: Helvetica, Arial, Verdana; font-size: 10px; color: #1F1F1F; text-align: center;">Dolorla ti <br />amet silio</p>
</td>
<td cellspacing="0" cellpadding="0" width="148" style="width: 148px; color: #1F1F1F; text-align: center; border: 1px solid orange; font-family: Helvetica, Arial, Verdana; font-size: 8px; letter-spacing: 1.5px; text-transform: uppercase;" >
<img src="http://dummyimage.com/50x50/000/fff.jpg&text=Icon" alt="Lab Icon" width="50" height="50" /><br />
<p style="font-family: Helvetica, Arial, Verdana; font-size: 10px; color: #1F1F1F; text-align: center;">Adipiscing <br />consecteture</p>
</td>
<td cellspacing="0" cellpadding="0" width="148" style="width: 148px; color: #1F1F1F; text-align: center; border: 1px solid orange; font-family: Helvetica, Arial, Verdana; font-size: 8px; letter-spacing: 1.5px; text-transform: uppercase;" >
<img src="http://dummyimage.com/50x50/000/fff.jpg&text=Icon" alt="Atom Icon" width="50" height="50" /><br />
<p style="font-family: Helvetica, Arial, Verdana; font-size: 10px; color: #1F1F1F; text-align: center;">Facili elit <br />torem</p>
</td>
<td cellspacing="0" cellpadding="0" width="148" style="width: 148px; color: #1F1F1F; text-align: center; border: 1px solid orange; font-family: Helvetica, Arial, Verdana; font-size: 8px; letter-spacing: 1.5px; text-transform: uppercase;" >
<img src="http://dummyimage.com/50x50/000/fff.jpg&text=Icon" alt="File Icon" width="50" height="50" /><br />
<p style="font-family: Helvetica, Arial, Verdana; font-size: 10px; color: #1F1F1F; text-align: center;">Ipsum sit <br />sepida colt</p>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
JSFiddle
How do I create four evenly-spaced table cells?
You need to use the table-layout propertie.
http://www.w3.org/TR/CSS21/tables.html#fixed-table-layout
In your case:
<table style="width: 600px; border-collapse: collapse; border: 1px solid orange;table-layout:fixed;" cellspacing="0" cellpadding="20" border="0" colspan="12" align="center">
DEMO
As you will notice, when you inspect the parsed content in some devoloper tools, like in Chrome, your <td>'s width: 148px is overruled, and replaced with a computed width like 103.8546546px and so on. Simply add
table {
table-layout: fixed;
}
to your CSS or as inline style., and you will get what you want.
forked fiddle -> http://jsfiddle.net/CaVpC/