right align text in menubar - html

I am coding a menubar for an e-mail - therefore the messy tables. I need the two menuoptions "Point" and "My profile" to be aligned in the right side of the table:
<table class="organicweb1" style="border-collapse:collapse" cellspacing="0" cellpadding="0" border="0" align="center" width="100%;">
<tbody>
<tr>
<td style="padding:10px 0px 10px 0px" align="center" valign="top">
<table style="border-collapse:collapse; border: 1px solid red;" cellspacing="0" cellpadding="0" border="0" align="center" width="600">
<tbody>
<tr>
<td align="left" width="35" valign="top"> </td>
<td align="center" width="590" valign="middle">
<table style="border-collapse:collapse" cellspacing="0" cellpadding="0" border="0" align="center" width="590">
<tbody>
<tr>
<td style="padding:7px 0px 7px 0px" align="center" valign="middle">
<table style="border-collapse:collapse" cellspacing="0" cellpadding="0" border="0" align="left">
<tbody>
<tr>
<td style="font-family:Tahoma,Geneva,sans-serif;font-size:14px;line-height:120%;color:#512DA8" align="center" valign="top">
Book
<span> </span>
Gift
<span> </span>
Voucher
<span> </span>
<span> </span>
<b>Point:</b>
<span> </span>
<b>My profile</b>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
<td align="left" width="35" valign="top"> </td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
JSFIDDLE
I have tried to set a text-align:right; on the a tag, the td tag, but I cannot get the two options to align right.
I can align them right if I set the text-align on the table. But then all the text are aligned right.
Does anybody have an idea what I am doing wrong here?

I think this will work for you -
I have put the inner table width to 100% and split you <a> tag to two <td> and gave them float.
<table class="organicweb1" style="border-collapse:collapse" cellspacing="0" cellpadding="0" border="0" align="center" width="100%;">
<tbody>
<tr>
<td style="padding:10px 0px 10px 0px" align="center" valign="top">
<table style="border-collapse:collapse; border: 1px solid red;" cellspacing="0" cellpadding="0" border="0" align="center" width="600">
<tbody>
<tr>
<td align="left" width="35" valign="top"> </td>
<td align="center" width="590" valign="middle">
<table style="border-collapse:collapse" cellspacing="0" cellpadding="0" border="0" align="center" width="590">
<tbody>
<tr>
<td style="padding:7px 0px 7px 0px" align="center" valign="middle">
<table style="border-collapse:collapse;width:100%" cellspacing="0" cellpadding="0" border="0" align="left" width: "100%">
<tr>
<td style="font-family:Tahoma,Geneva,sans-serif;font-size:14px;line-height:120%;color:#512DA8;float:left" align="center" valign="top">
Book
<span> </span>
Gift
<span> </span>
Voucher
<span> </span>
<span> </span>
</td>
<td style="float:right">
<b>Point:</b>
<span> </span>
<b>My profile</b>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
<td align="left" width="35" valign="top"> </td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
Hope this is helpfull for you.

try this snippet:
<a href="http://example.com"
style=
"color:#004b60;
text-decoration:none;
background-color: red;
padding: 5px 10px 5px 10px;
margin-left:250px;"
target="_blank"><b>Point:</b>
</a>
use margin-left:250px; instead of text-align: right;
check the fiddle: https://jsfiddle.net/hfsd62eg/1/

Related

HTML email table stretching horizontally when lots of text

I am trying to create a responsive HTML email. The two columns should be equal height and they currently stack on mobile. Everything works properly until there is a lot of text as the Billing Information or Shipping Information. It's an unlikely case that the text will ever look like this, but I must handle all possibilities without the email breaking. How can I make my td stretch vertically instead of horizontally? I cannot use a fixed width as it will break the responsiveness of my table.
<table align="left" border="0" cellpadding="0" cellspacing="0" class="mcnTextBlock" width="100%">
<tbody class="mcnTextBlockOuter">
<tr>
<td valign="top" width="100%" class="mcnTextBlockInner" style="padding-top:9px; padding-right:18px; padding-left: 18px; padding-bottom: 15px;">
<!--[if mso]>
<table align="left" border="0" cellspacing="0" cellpadding="0" width="100%" style="width:100%;">
<tr>
<![endif]-->
<!--[if mso]>
<td valign="top" width="600" style="width:600px;">
<![endif]-->
<table align="left" bgcolor="white" border="0" cellpadding="5" cellspacing="0" style="max-width:100%; min-width:100%;" width="100%" class="mcnTextContentContainer">
<tbody>
<tr>
<td valign="top" width="50%" class=" templateColumnContainer"">
<!--<td valign="top" width="300" class="mcnTextBlockInner" style="padding-top:9px;padding-right:18px;padding-left:18px;padding-bottom:15px;"> -->
<table border="0" cellpadding="5" cellspacing="0" width="100%" style="max-width:100%; min-width:100%;" class="mcnTextContentContainer">
<tr>
<td valign="top" align="center" class="leftColumnContent" style="text-align: center;" >
<span style="color:#000000; font-size:18px; display: block; width:100%; height:auto;"><strong>Billing Information</strong></span>
</td>
</tr>
<tr>
<td valign="middle" class="leftColumnContent" style="text-align: center;">
<span style="font-size:14px; color: #000000!important;">{{ receipt.order.get_billing_html|safe }}</span>
</td>
</tr>
</table>
</td>
<td valign="top" width="50%" class="templateColumnContainer">
<table border="0" cellpadding="5" cellspacing="0" width="100%">
<tr>
<td class="rightColumnContent" style="text-align: center;">
<span style="font-size:18px; color:#000000; text-align:center; display: block; width:100%; height:auto;"><strong>Shipping Information</strong></span>
</td>
</tr>
<tr>
<td valign="middle" class="rightColumnContent" style="text-align: center;">
<span>
Shipping Address
</span>
<br><span style="font-size:14px; color: #000000!important;">Shipping speed description
{% endif %}
{% if receipt.order.shipper_tracking_number %}
<br><strong style="color: #000000;!important">Tracking: </strong>Shipper Name</span><br>
<a href="shipping tracking number" target="_blank" style="color: #000000; font-size: 14px;">
</a>
</td>
</tr>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
Found the answer in post: HTML CSS How to stop a table cell from expanding
Using style="overflow-wrap: break-word;" on the <td> solved my problem. It is compatible across Gmail, Apple Mail, Yahoo, latest Outlook.

table colspan in emails

I'm trying to get the image to align to the right and the rows with text on the left in my table using colspan. This method usually works when the image is on the left but now I want it on the right it wont work. Please keep in mind this is for outlook email so you cannot use floats, align="right" etc.
heres my code:
<table cellpadding="0" cellspacing="0" width="600" style="width: 100%; max-width: 600px;">
<tr>
<td align="center">
<table cellpadding="0" cellspacing="0" width="580" style="border: 1px solid;">
<tr>
<td style="font-size: 10px;">sdfsdfsdfsdfdsdfhhhhhhhhlklkjlkj</td>
<td></td>
</tr>
<tr>
<td>sdfsdf</td>
</tr>
<tr>
<td rowspan="3" ><img src="https://gallery.mailchimp.com/b083c967cd22e35ab4ce75e7a/images/e3c991a6-22c4-4ee2-a08d-7d23e30f8c29.png" alt="" width="400"></td>
</tr>
</table>
</td>
</tr>
</table>
https://jsfiddle.net/yk3fanoq/1/
You need to put the text and image in two columns (td)
<table cellpadding="0" cellspacing="0" width="600" style="width: 100%; max-width: 600px;">
<tr>
<td align="center">
<tr>
<td align="left">
sdfsdfsdfsdfdsdfhhhhhhhhlklk
sdfsdf
</td>
<td rowspan="3" align="right">
<img src="https://gallery.mailchimp.com/b083c967cd22e35ab4ce75e7a/images/e3c991a6-22c4-4ee2-a08d-7d23e30f8c29.png" alt="" width="400">
</td>
</tr>
</td>
</tr>
</table>

Content not aligning to bottom of table

Currently working on coding for Email:
I am trying to get this button (created out of tables) to align to the bottom of the enclosing table. At the moment it will not align and I'm not sure why.
<table width="300" min-width="300" height="500" class="promo_3" align="left">
<tr>
<td valign="top">
<a target="_blank" href="http://www.thing.html">
<img class="promo" alt="Promo image 2" src="http://media.campaigner.com/image1.jpg">
</a>
<br>
<br>
<h1> TRAINING </h1>
<span valign="top" class="content">TITLE HERE</span>
<p>TEXT HERE</p>
<br>
<!--Button THIS WILL NOT ALIGN TO THE BOTTOM -->
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="padding-bottom:20px;">
<tr>
<td height="20">
<table border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td bgcolor="#f55926" valign="bottom" style="padding: 8px 30px 8px 30px; -webkit-border-radius:3px; border-radius:3px" align="center">Read More
</td>
</tr>
</table>
</td>
</tr>
</table>
<!--Button + Social End -->
</td>
</tr>
</table>
Maybe give this method a try:
<table width="300" min-width="300" height="500" class="promo_3" align="left">
<tr>
<td valign="bottom"><br>
<br>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td height="200" valign="top"><a target="_blank" href="http://www.thing.html"><img class="promo" alt="Promo image 2" src="http://media.campaigner.com/image1.jpg"></a></td>
</tr>
<tr>
<td height="200" valign="top">
<h1> TRAINING </h1>
<span valign="top" class="content">TITLE HERE</span>
<p>TEXT HERE</p>
</td>
</tr>
</tbody>
</table>
<br>
<!--Button THIS WILL NOT ALIGN TO THE BOTTOM -->
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="padding-bottom:20px;">
<tr>
<td height="20">
<table border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td bgcolor="#f55926" valign="bottom" style="padding: 8px 30px 8px 30px; -webkit-border-radius:3px; border-radius:3px" align="center">Read More
</td>
</tr>
</table>
</td>
</tr>
</table>
<!--Button + Social End -->
</td>
</tr>
</table>
What I have done is added one table with two rows, both the rows have specific height with content aligned top. Some email clients are notorious and might not align the code to the bottom as it is on the code, for those email clients you can use padding-top on the TD's. Hope this helps.
Cheers
This is what you are looking for? Just add align='left' to table containing button.
<table width="300" min-width="300" height="500" class="promo_3" align="left">
<tr>
<td>
<a target="_blank" href="http://www.thing.html">
<img class="promo" alt="Promo image 2" src="http://media.campaigner.com/image1.jpg">
</a>
<br>
<br>
<h1> TRAINING </h1>
<span valign="top" class="content">TITLE HERE</span>
<p>TEXT HERE</p>
<br>
<!--Button THIS WILL NOT ALIGN TO THE BOTTOM -->
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="padding-bottom:20px;">
<tr>
<td height="20">
<table border="0" align='left' cellspacing="0" cellpadding="0" align="center">
<tr>
<td bgcolor="#f55926" valign="bottom" style="padding: 8px 30px 8px 30px;-webkit-border-radius:3px; border-radius:3px" align="center">Read More
</td>
</tr>
</table>
</td>
</tr>
</table>
<!--Button + Social End -->
</td>
</tr>
</table>

How to align buttons on the bottom at the same line?

I want all the checkout button to be aligned evenly. Description of different products could be on 2 or 3 lines. And I want these button to stay on the same line. I tried to change line-height, but this affects all the buttons.
Here is a playground for that
<table border="0" cellpadding="0" cellspacing="0" width="650"><tbody><tr><td>
<table style="border-collapse:collapse" align="left" border="0" cellpadding="0" cellspacing="0" width="430"><tbody><tr><td>
<table style="border-collapse:collapse" align="left" border="0" cellpadding="0" cellspacing="0" width="210"><tbody><tr><td>
<img class="CToWUd" src="https://ci3.googleusercontent.com/proxy/1GKwB3DZSd0BPMDboD6iz7Ouq-wX00lP_G9TEUtJvjk3Gl5217FB6-q7E4qkCVjd5MVbYac2bUu9s5KrC8CNvpOQujvl5A-VraYMFfE8UzcBuw0O_MfbMdTOJhTWu9Rl5oVzd-4fVw=s0-d-e1-ft#https://www.venusbymariatash.com/media/catalog/product/C/R/CR65_B-ROSE_GOLD_1.png" alt="" style="display:block" border="0" width="210">
</td>
</tr><tr><td style="font-family:Arial,Helvetica,sans-serif;font-size:16px;color:#363636;font-weight:bold;line-height:16px;text-align:center;padding:0 0 15px">
1/4" Plain Ring (Earlobe) - ROSE GOLD
</td>
</tr><tr><td style="font-family:Arial,Helvetica,sans-serif;font-size:12px;color:#363636;line-height:16px;text-align:center">
$110.00
</td>
</tr><tr><td style="padding:20px 0 0">
<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font-family:Arial,Helvetica,sans-serif;font-size:18px" align="center" bgcolor="#fff">
<strong>CHECKOUT</strong>
</td>
</tr></tbody></table></td>
</tr></tbody></table><table style="border-collapse:collapse" align="right" border="0" cellpadding="0" cellspacing="0" width="210"><tbody><tr><td>
<img class="CToWUd" src="https://ci6.googleusercontent.com/proxy/CL7UjYFnWe3FNZINIJJgPOVH18yP9nKSJZJdbbalv96XbhdRdiLweSYJ6DspRUu8KHjFGT9GCjVmgxAQY3Kpa7_aU5yUeMbdAha6dPGV4JVu16m2xSLjMgC3FA8qrs38xyWr1ygiyM0=s0-d-e1-ft#https://www.venusbymariatash.com/media/catalog/product/C/R/CR65_B-WHITE_GOLD_1.png" alt="" style="display:block" border="0" width="210">
</td>
</tr><tr><td style="font-family:Arial,Helvetica,sans-serif;font-size:16px;color:#363636;font-weight:bold;line-height:16px;text-align:center;padding:0 0 15px">
1/4" Plain Ring (Earlobe) - WHITE GOLD
</td>
</tr><tr><td style="font-family:Arial,Helvetica,sans-serif;font-size:12px;color:#363636;line-height:16px;text-align:center">
$110.00
</td>
</tr><tr><td style="padding:20px 0 0; min-height: 100px;">
<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font-family:Arial,Helvetica,sans-serif;font-size:18px" align="center" bgcolor="#fff">
<strong>CHECKOUT</strong>
</td>
</tr></tbody></table></td>
</tr></tbody></table></td>
</tr></tbody></table><table style="border-collapse:collapse" align="right" border="0" cellpadding="0" cellspacing="0" width="210"><tbody><tr><td>
<img class="CToWUd" src="https://ci6.googleusercontent.com/proxy/oXpSdsWCQF_bW7AslUS7Fi71WwkcWjSpNklnWUJtDDgaxexkpoqVKaeIWTopPL8YfTZMqfOBV-jW7SV3DOGMi5Eq-o8FhU9JWH69-f-Ukh4dbVTeFoq9yCIuWWGmSwEOA6eaBgkxhzA=s0-d-e1-ft#https://www.venusbymariatash.com/media/catalog/product/C/E/CET8D22-ROSE_GOLD_1.png" alt="" style="display:block" border="0" width="210">
</td>
</tr><tr><td style="font-family:Arial,Helvetica,sans-serif;font-size:16px;color:#363636;font-weight:bold;line-height:16px;text-align:center;padding:0 0 15px">
5/16" Diamond Continuous Eternity Ring (Helix) - ROSE GOLD
</td>
</tr><tr><td style="font-family:Arial,Helvetica,sans-serif;font-size:12px;color:#363636;line-height:30px;text-align:center">
$515.00
</td>
</tr><tr><td style="padding:20px 0 0">
<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font-family:Arial,Helvetica,sans-serif;font-size:18px" align="center" bgcolor="#fff">
<strong>CHECKOUT</strong>
</td>
</tr><tr><td height="15">
</td>
</tr></tbody></table></td>
</tr></tbody></table></td>
</tr></tbody></table>
http://codepen.io/anon/pen/vGpzVa
Thank you!
The simplest is to move the buttons to their own row.
<table border="0" cellpadding="0" cellspacing="0" width="650">
<tbody>
<tr>
<td>
<table style="border-collapse:collapse" align="left" border="0" cellpadding="0" cellspacing="0" width="430">
<tbody>
<tr>
<td>
<table style="border-collapse:collapse" align="left" border="0" cellpadding="0" cellspacing="0" width="210">
<tbody>
<tr>
<td>
<a href="https://app.remarkety.com/public/track/link/umk/NTcwNjdkNTdjMWJhMjIuODA4MDE3MzA1NzA2N2Q1N2M=/origurl/aHR0cHMlM0ElMkYlMkZ3d3cudmVudXNieW1hcmlhdGFzaC5jb20lMkYxNC1wbGFpbi1yaW5nLWVhcmxvYmUtcm9zZS1nb2xkLWNyNjUtYi1yb3NlLWdvbGQuaHRtbA==" target="_blank"
data-saferedirecturl="https://www.google.com/url?hl=en&q=https://app.remarkety.com/public/track/link/umk/NTcwNjdkNTdjMWJhMjIuODA4MDE3MzA1NzA2N2Q1N2M%3D/origurl/aHR0cHMlM0ElMkYlMkZ3d3cudmVudXNieW1hcmlhdGFzaC5jb20lMkYxNC1wbGFpbi1yaW5nLWVhcmxvYmUtcm9zZS1nb2xkLWNyNjUtYi1yb3NlLWdvbGQuaHRtbA%3D%3D&source=gmail&ust=1460215609004000&usg=AFQjCNHiQ7uePUKn7qMoF5xqlvjDP1zgyQ"><img class="CToWUd" src="https://ci3.googleusercontent.com/proxy/1GKwB3DZSd0BPMDboD6iz7Ouq-wX00lP_G9TEUtJvjk3Gl5217FB6-q7E4qkCVjd5MVbYac2bUu9s5KrC8CNvpOQujvl5A-VraYMFfE8UzcBuw0O_MfbMdTOJhTWu9Rl5oVzd-4fVw=s0-d-e1-ft#https://www.venusbymariatash.com/media/catalog/product/C/R/CR65_B-ROSE_GOLD_1.png"
alt="" style="display:block" border="0" width="210"></a>
</td>
</tr>
<tr>
<td style="font-family:Arial,Helvetica,sans-serif;font-size:16px;color:#363636;font-weight:bold;line-height:16px;text-align:center;padding:0 0 15px">
1/4" Plain Ring (Earlobe) - ROSE GOLD
</td>
</tr>
<tr>
<td style="font-family:Arial,Helvetica,sans-serif;font-size:12px;color:#363636;line-height:16px;text-align:center">
$110.00
</td>
</tr>
</tbody>
</table>
<table style="border-collapse:collapse" align="right" border="0" cellpadding="0" cellspacing="0" width="210">
<tbody>
<tr>
<td>
<a href="https://app.remarkety.com/public/track/link/umk/NTcwNjdkNTdjMWJhMjIuODA4MDE3MzA1NzA2N2Q1N2M=/origurl/aHR0cHMlM0ElMkYlMkZ3d3cudmVudXNieW1hcmlhdGFzaC5jb20lMkYxNC1wbGFpbi1yaW5nLWVhcmxvYmUtd2hpdGUtZ29sZC1jcjY1LWItd2hpdGUtZ29sZC5odG1s" target="_blank"
data-saferedirecturl="https://www.google.com/url?hl=en&q=https://app.remarkety.com/public/track/link/umk/NTcwNjdkNTdjMWJhMjIuODA4MDE3MzA1NzA2N2Q1N2M%3D/origurl/aHR0cHMlM0ElMkYlMkZ3d3cudmVudXNieW1hcmlhdGFzaC5jb20lMkYxNC1wbGFpbi1yaW5nLWVhcmxvYmUtd2hpdGUtZ29sZC1jcjY1LWItd2hpdGUtZ29sZC5odG1s&source=gmail&ust=1460215609004000&usg=AFQjCNFtmdKjjV2n6xrI45EjJ6H9WBAXtA"><img class="CToWUd" src="https://ci6.googleusercontent.com/proxy/CL7UjYFnWe3FNZINIJJgPOVH18yP9nKSJZJdbbalv96XbhdRdiLweSYJ6DspRUu8KHjFGT9GCjVmgxAQY3Kpa7_aU5yUeMbdAha6dPGV4JVu16m2xSLjMgC3FA8qrs38xyWr1ygiyM0=s0-d-e1-ft#https://www.venusbymariatash.com/media/catalog/product/C/R/CR65_B-WHITE_GOLD_1.png"
alt="" style="display:block" border="0" width="210"></a>
</td>
</tr>
<tr>
<td style="font-family:Arial,Helvetica,sans-serif;font-size:16px;color:#363636;font-weight:bold;line-height:16px;text-align:center;padding:0 0 15px">
1/4" Plain Ring (Earlobe) - WHITE GOLD
</td>
</tr>
<tr>
<td style="font-family:Arial,Helvetica,sans-serif;font-size:12px;color:#363636;line-height:16px;text-align:center">
$110.00
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<table style="border-collapse:collapse" align="right" border="0" cellpadding="0" cellspacing="0" width="210">
<tbody>
<tr>
<td>
<a href="https://app.remarkety.com/public/track/link/umk/NTcwNjdkNTdjMWJhMjIuODA4MDE3MzA1NzA2N2Q1N2M=/origurl/aHR0cHMlM0ElMkYlMkZ3d3cudmVudXNieW1hcmlhdGFzaC5jb20lMkY1MTYtZGlhbW9uZC1jb250aW51b3VzLWV0ZXJuaXR5LXJpbmctaGVsaXgtcm9zZS1nb2xkLWNldDhkMjItcm9zZS1nb2xkLmh0bWw="
target="_blank" data-saferedirecturl="https://www.google.com/url?hl=en&q=https://app.remarkety.com/public/track/link/umk/NTcwNjdkNTdjMWJhMjIuODA4MDE3MzA1NzA2N2Q1N2M%3D/origurl/aHR0cHMlM0ElMkYlMkZ3d3cudmVudXNieW1hcmlhdGFzaC5jb20lMkY1MTYtZGlhbW9uZC1jb250aW51b3VzLWV0ZXJuaXR5LXJpbmctaGVsaXgtcm9zZS1nb2xkLWNldDhkMjItcm9zZS1nb2xkLmh0bWw%3D&source=gmail&ust=1460215609004000&usg=AFQjCNGemmOPzKqjaMtL6JMsZ5o-WOOWLw"><img class="CToWUd" src="https://ci6.googleusercontent.com/proxy/oXpSdsWCQF_bW7AslUS7Fi71WwkcWjSpNklnWUJtDDgaxexkpoqVKaeIWTopPL8YfTZMqfOBV-jW7SV3DOGMi5Eq-o8FhU9JWH69-f-Ukh4dbVTeFoq9yCIuWWGmSwEOA6eaBgkxhzA=s0-d-e1-ft#https://www.venusbymariatash.com/media/catalog/product/C/E/CET8D22-ROSE_GOLD_1.png"
alt="" style="display:block" border="0" width="210"></a>
</td>
</tr>
<tr>
<td style="font-family:Arial,Helvetica,sans-serif;font-size:16px;color:#363636;font-weight:bold;line-height:16px;text-align:center;padding:0 0 15px">
5/16" Diamond Continuous Eternity Ring (Helix) - ROSE GOLD
</td>
</tr>
<tr>
<td style="font-family:Arial,Helvetica,sans-serif;font-size:12px;color:#363636;line-height:30px;text-align:center">
$515.00
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td>
<table style="border-collapse:collapse" align="left" border="0" cellpadding="0" cellspacing="0" width="430">
<tbody>
<tr>
<td>
<table style="border-collapse:collapse" align="left" border="0" cellpadding="0" cellspacing="0" width="210">
<tbody>
<tr>
<td style="padding:20px 0 0">
<table border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td style="font-family:Arial,Helvetica,sans-serif;font-size:18px" align="center" bgcolor="#fff">
<a href="https://app.remarkety.com/public/track/link/umk/NTcwNjdkNTdjMWJhMjIuODA4MDE3MzA1NzA2N2Q1N2M=/origurl/aHR0cHMlM0ElMkYlMkZ3d3cudmVudXNieW1hcmlhdGFzaC5jb20lMkYxNC1wbGFpbi1yaW5nLWVhcmxvYmUtcm9zZS1nb2xkLWNyNjUtYi1yb3NlLWdvbGQuaHRtbA==" title="CHECKOUT"
style="color:rgb(255,255,255);text-decoration:none;display:inline-block;white-space:nowrap;padding:10px 50px;background-color:rgb(89,89,89);border-radius:5px" target="_blank" data-saferedirecturl="https://www.google.com/url?hl=en&q=https://app.remarkety.com/public/track/link/umk/NTcwNjdkNTdjMWJhMjIuODA4MDE3MzA1NzA2N2Q1N2M%3D/origurl/aHR0cHMlM0ElMkYlMkZ3d3cudmVudXNieW1hcmlhdGFzaC5jb20lMkYxNC1wbGFpbi1yaW5nLWVhcmxvYmUtcm9zZS1nb2xkLWNyNjUtYi1yb3NlLWdvbGQuaHRtbA%3D%3D&source=gmail&ust=1460215609004000&usg=AFQjCNHiQ7uePUKn7qMoF5xqlvjDP1zgyQ"><strong>CHECKOUT</strong></a>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<table style="border-collapse:collapse" align="right" border="0" cellpadding="0" cellspacing="0" width="210">
<tbody>
<tr>
<td style="padding:20px 0 0; min-height: 100px;">
<table border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td style="font-family:Arial,Helvetica,sans-serif;font-size:18px" align="center" bgcolor="#fff">
<a href="https://app.remarkety.com/public/track/link/umk/NTcwNjdkNTdjMWJhMjIuODA4MDE3MzA1NzA2N2Q1N2M=/origurl/aHR0cHMlM0ElMkYlMkZ3d3cudmVudXNieW1hcmlhdGFzaC5jb20lMkYxNC1wbGFpbi1yaW5nLWVhcmxvYmUtd2hpdGUtZ29sZC1jcjY1LWItd2hpdGUtZ29sZC5odG1s" title="CHECKOUT"
style="color:rgb(255,255,255);text-decoration:none;display:inline-block;white-space:nowrap;padding:10px 50px;background-color:rgb(89,89,89);border-radius:5px" target="_blank" data-saferedirecturl="https://www.google.com/url?hl=en&q=https://app.remarkety.com/public/track/link/umk/NTcwNjdkNTdjMWJhMjIuODA4MDE3MzA1NzA2N2Q1N2M%3D/origurl/aHR0cHMlM0ElMkYlMkZ3d3cudmVudXNieW1hcmlhdGFzaC5jb20lMkYxNC1wbGFpbi1yaW5nLWVhcmxvYmUtd2hpdGUtZ29sZC1jcjY1LWItd2hpdGUtZ29sZC5odG1s&source=gmail&ust=1460215609004000&usg=AFQjCNFtmdKjjV2n6xrI45EjJ6H9WBAXtA"><strong>CHECKOUT</strong></a>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<table style="border-collapse:collapse" align="right" border="0" cellpadding="0" cellspacing="0" width="210">
<tbody>
<tr>
<td style="padding:20px 0 0">
<table border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td style="font-family:Arial,Helvetica,sans-serif;font-size:18px" align="center" bgcolor="#fff">
<a href="https://app.remarkety.com/public/track/link/umk/NTcwNjdkNTdjMWJhMjIuODA4MDE3MzA1NzA2N2Q1N2M=/origurl/aHR0cHMlM0ElMkYlMkZ3d3cudmVudXNieW1hcmlhdGFzaC5jb20lMkY1MTYtZGlhbW9uZC1jb250aW51b3VzLWV0ZXJuaXR5LXJpbmctaGVsaXgtcm9zZS1nb2xkLWNldDhkMjItcm9zZS1nb2xkLmh0bWw="
title="CHECKOUT" style="color:rgb(255,255,255);text-decoration:none;display:inline-block;white-space:nowrap;padding:10px 50px;background-color:rgb(89,89,89);border-radius:5px" target="_blank" data-saferedirecturl="https://www.google.com/url?hl=en&q=https://app.remarkety.com/public/track/link/umk/NTcwNjdkNTdjMWJhMjIuODA4MDE3MzA1NzA2N2Q1N2M%3D/origurl/aHR0cHMlM0ElMkYlMkZ3d3cudmVudXNieW1hcmlhdGFzaC5jb20lMkY1MTYtZGlhbW9uZC1jb250aW51b3VzLWV0ZXJuaXR5LXJpbmctaGVsaXgtcm9zZS1nb2xkLWNldDhkMjItcm9zZS1nb2xkLmh0bWw%3D&source=gmail&ust=1460215609005000&usg=AFQjCNFsZwpDCF5k_yDAE66iSd1Sx1ObnQ"><strong>CHECKOUT</strong></a>
</td>
</tr>
<tr>
<td height="15">
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
Try applying a fixed height to the td containing the item titles (if the line-height is 16px, and you want to give 3 lines of space, set a height of 48px);
<td style="height:48px;font-family:Arial,Helvetica,sans-serif;font-size:16px;color:#363636;font-weight:bold;line-height:16px;text-align:center;padding:0 0 15px">
1/4" Plain Ring (Earlobe) - ROSE GOLD
</td>
You may have to remove padding.
Failing these, you could pull out the buttons as a whole other row (so long as each column was the same width as the column in the table above so everything lined up)
try using valign="bottom" attribute

HTML E-mail Template Centering

I am working on an e-mail template that includes 2 links to a website and an e-mail address. They are both of varying widths and have it setup so that they're both beside each other and centred down the middle.
Recently ran into a problem when testing with Outlook and saw that the boxes were not centred and rather pushed to the left and right.
Here are some screenshots of what is happening:
Browser / Other E-mail Clients:
Outlook / Word Templating Engine:
The Code:
<td style="padding-bottom:0px; padding-left:10px; padding-right:10px; padding-top:22px; " align="center">
<table class="contact_links_container" border="0" cellspacing="0" cellpadding="0" width="580" align="center" style="margin:auto; ">
<tr>
<td align="center">
<div class="templateEdit" id="contact_links">
<table class="contact_button_container" style="margin: auto;" border="0" cellspacing="0" cellpadding="0" align="left">
<tbody>
<tr>
<td style="width: 10px;" width="10"> </td>
<td>
<a href="http://www.domain.com">
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="padding: 10px 20px; border: 1px solid #c3c6c6; border-radius: 3px;">
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="padding-right: 10px;" height="20" align="center" valign="middle">
<a href="http://www.domain.com/">
<img src="/images/icn_globe.png" border="0" alt="" width="18" height="18" />
</a>
</td>
<td style="font-family: Verdana, Geneva, sans-serif; font-size: 15px;" align="left" valign="middle"><a style="color: #7f7f7f; text-decoration: none;" href="http://www.domain.com/">www.domain.com</a>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</a>
</td>
<td style="width: 10px;" width="10"> </td>
</tr>
<tr>
<td style="height: 20px;" colspan="3" height="20"> </td>
</tr>
</tbody>
</table>
<table class="contact_button_container" style="margin: auto;" cellspacing="0" cellpadding="0" align="right">
<tbody>
<tr>
<td style="width: 10px;" width="10"> </td>
<td>
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="padding: 10px 20px; border: 1px solid #c3c6c6; border-radius: 3px;">
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="padding-right: 10px;" align="center" valign="middle">
<a href="mailto:newaccounts#domain.com">
<img src="images/icn_grey_mail.png" border="0" alt="" width="21" height="20" />
</a>
</td>
<td style="font-family: Verdana, Geneva, sans-serif; font-size: 15px;" align="left" valign="middle"><a style="color: #7f7f7f; text-decoration: none;" href="mailto:apisupport#domain.com">Email</a>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
<td style="width: 10px;" width="10"> </td>
</tr>
<tr>
<td style="height: 20px;" colspan="3" height="20"> </td>
</tr>
</tbody>
</table>
</div>
</td>
</tr>
</table>
</td>
Does anyone have any ideas on how I can format it so that it works appears in Outlook as it does in the 1st image?
Specify the width for div and td wherever needed. It should work, outlook mail client will set the element width to 100% with reference to body if not specified.