html outlook email bug - html

Outlook windows app problem:
problem is that I cant vertical-align(center) text and image in the button and also border-radius not working in the outlook app, any suggestions on how to fix it and make it the same as in Gmail for the outlook app.
it happens only in outlook application.
<!-- [if !mso]><!--> <!--<![endif]-->
<style>#outlook a {
padding: 0;
}
body {
margin: 0;
padding: 0;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
}
table,
td {
border-collapse: collapse;
mso-table-lspace: 0pt;
mso-table-rspace: 0pt;
}
img {
border: 0;
height: auto;
line-height: 100%;
outline: none;
text-decoration: none;
-ms-interpolation-mode: bicubic;
}
p {
display: block;
margin: 13px 0;
}</style>
<!-- [if mso]>
<noscript>
<xml>
<o:OfficeDocumentSettings>
<o:AllowPNG/>
<o:PixelsPerInch>96</o:PixelsPerInch>
</o:OfficeDocumentSettings>
</xml>
</noscript>
<![endif]--> <!-- [if lte mso 11]>
<style type="text/css">
.mj-outlook-group-fix { width:100% !important; }
</style>
<![endif]--> <!-- [if !mso]><!-->
<style>#import url(https://fonts.googleapis.com/css?family=Roboto:300,400,500,700);</style>
<!--<![endif]-->
<style>#media only screen and (min-width:480px) {
.mj-column-per-100 {
width: 100% !important;
max-width: 100%;
}
}</style>
<style>.moz-text-html .mj-column-per-100 {
width: 100% !important;
max-width: 100%;
}</style>
<style>[owa] .mj-column-per-100 {
width: 100% !important;
max-width: 100%;
}</style>
<style>#media only screen and (max-width:480px) {
table.mj-full-width-mobile {
width: 100% !important;
}
td.mj-full-width-mobile {
width: auto !important;
}
}</style>
<div style="display: none; font-size: 1px; color: #ffffff; line-height: 1px; max-height: 0px; max-width: 0px; opacity: 0; overflow: hidden;">Pre-header Text</div>
<div style="background-color: #ffffff;">
<table style="width: 100%;" role="presentation" border="0" cellspacing="0" cellpadding="0" align="center">
<tbody>
<tr>
<td><!-- [if mso | IE]><table align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600" ><tr><td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"><![endif]-->
<div style="margin: 0px auto; max-width: 600px;">
<table style="width: 100%;" role="presentation" border="0" cellspacing="0" cellpadding="0" align="center">
<tbody>
<tr>
<td style="direction: ltr; font-size: 0px; padding: 20px 0; padding-bottom: 20px; text-align: center;"><!-- [if mso | IE]><table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td class="" style="vertical-align:top;width:600px;" ><![endif]-->
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size: 0px; text-align: left; direction: ltr; display: inline-block; vertical-align: top; width: 100%;">
<table style="vertical-align: top;" role="presentation" border="0" width="100%" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="font-size: 0px; padding: 10px 25px; word-break: break-word;" align="center">
<table style="border-collapse: collapse; border-spacing: 0px;" role="presentation" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="width: 275px;">
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
<!-- [if mso | IE]></td></tr></table><![endif]-->
</td>
</tr>
</tbody>
</table>
</div>
<!-- [if mso | IE]></td></tr></table><![endif]-->
</td>
</tr>
</tbody>
</table>
<!-- [if mso | IE]><table align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600" bgcolor="#F0F2F5" ><tr><td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"><![endif]-->
<div style="background: #F0F2F5; background-color: #f0f2f5; margin: 0px auto; max-width: 600px; width: 500px;">
<table style="background: #F0F2F5; background-color: #f0f2f5; width: 500px;" role="presentation" border="0" width="500px" cellspacing="0" cellpadding="0" align="center">
<tbody>
<tr>
<td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;"><!-- [if mso | IE]><table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td class="" style="vertical-align:top;width:600px;" ><![endif]-->
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size: 0px; text-align: left; direction: ltr; display: inline-block; vertical-align: top; width: 500px;">
<table style="vertical-align: top;" role="presentation" border="0" width="100%" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="font-size: 0px; padding: 10px 25px; word-break: break-word;" align="center">
<table style="border-collapse: collapse; border-spacing: 0px;" role="presentation" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="width: 60px;">
<img style="border: 0; display: block; outline: none; text-decoration: none; height: 60px; width: 100%; font-size: 13px;" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAAXNSR0IArs4c6QAABctJREFUaEPlW09MXEUY/82uBUFQaBsK9SIFjOxe2qonBU+tSbH1T2LXi9TEauFxEA+2NREP9mBbD64HFqo1sfXixkRta5vYngS9iLa9AKYsxYOWllSpFliB7hvzvd23fbvs+zvzELJzIWFnvvl+8/3/Zh6DT2Nz90TV/PziEwEW2AogzIFNADYCrBrgZeltWRLg0wCuMeAqgGGVqxdLS9f8eDlaf8sP1phMoo90TDzEgqkXmYqdYGgRos0xyAM4w1PBL3/tr/9NiJZhsRTAzV3jOxjnrwN4VhZjeXROccY+Hu1tOCdKXwhwGigOALxVlBFn69kAZzgiAtwTYFLdYCB1mAMRZ4zKncWAeEoNHvSi6q4BN3eO7WWMfQSgXC4M19TmOOdvjPY1HXez0hXgkJLoA9DhZoNlmNs/EmvsdLqPI8CbX7lUNV9eEWdg250SXs55HPx86dxM5PJnW2xDmS3gkDJRC6ROA3h8OUF42GsICO4aidVft1prCZgku1BeeV4m2KaNa1BxbwBbG0pxcXweM/+qGLu26AFfwSVDJXO3t1tJ2hJwszL2nSw1jjxZiUhLBeqq71nC6eT0HcQHZxD/4bYwcFLv0VjT02aETAHLclAk0Z7d60B/7QZJ+sCJm6ADEBymjqwg4Ezo+URwUw1kbF8NKsoCjknNJFUox6aE1Zxz/lqhkLUEMCUVgUBqWEacPdldmyNZstezP89iYDiZPYDWcBnaHrtPs2t9kKTbo5a+x8kBzqlqMJyfnCwBHFYSX8jIoPZuewCvbrv/LojJRRyK/1lQcpraR9ahqe6u2n964R8cv/C3E2CmcygjG441vmSckAM4UwScFdols/irt+uyDook2/7hDUvb1NS/oyYrabLjF96fFGaFM9ZmzL1zAIeU8e9lFALEPKmzPsj7Rk/b5gTo3lUF8ub6ILUWD1lsYCTW8JROMwtYpnTJLo/sWZ9lvOvYlBZz7QbF5t59Ndlp5LGN9m633ux3o5SzgENK4htZ9WykpRLdO6tcA84/qOiZW4gPisdmAKdGYo3PEUMa4IxnnvB6goXWkT1u2VSq/eTE61LoohCmx+tLV+eh9E9JY0lVg/XksTXAzV2JtxjHUWnUAc1hnXxzQ9YJ2dnxO7vXauGJhhMn55ZXzrB/tLfxAw1wqDMxINyDKsBBvoqa2SQBJcD6kGW7OSxxDI70NbYy6i4uLKSoc+jL6ImsxY5HM5JLqmiP5oan/Gzs3C+zOBT/yxdeSkqC1ay580obY4FvfdkB0NLKz7s3oDZTNBjtOd9ur0/fwcvRG6D00o/BufoMCyuJHg6858cGOk2zuGy0W5orJ+6aI2HAuwRYSippd2D5qSbl1LqTorUyUkk7HijVZCEl8ZPMAt9qU2OoMs6THYIseBgiwL8DeNDudGT8nh+q/ApBFrz+wULK+CzAl63l6jRUyTjgpTTYHEmYXKJtM08mA3qo8jMEmfDL/xfAFI6O7lmP/Sdu+haCLACLqzTZJpV2FH4KNelEtYNqY4rfVGKK9bvSKi3ktEhaXx+sc9W38noAlJA8f3hSRCvIaYmFJWPq6BWIm3V2RYgNrSHhxMMYWyU31bO86817+odIzNYSD9HU0ghYhBmnCYvIHlpqKVo8rCbAWvEgWh6uJsBaeUiqJNIAyLHhpIor8i7Gslr+MF3AZW4vPKu03gAgqiItHrOCwI3ndTPXK+CcFo9IE2+1AM5p4mlq7bFNu0oA57Zp02qtvbVyfc2yGgAXbMSnpez+qmXlAza5avEq5ZUO2PIyjUC77XFRX8qPCsnMc1O1RP0wJ8P2upSIyLwQd8KUj3OcXYhrqp1+bSf85MFHMLakHT950CnJetRiy5k/E9w9atF5kPlsyR9cS6l6frZEpPx4mOYzcLGHaenYXERPD3VpFNXjUqMKrlBHJv/5sBF0UT0Q14EX1ScAOdIulo888kNL0XzGkw+8aD7UKpRMrNRP8f4DSZwmyI9btWIAAAAASUVORK5CYII=" width="60" height="60">
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td style="font-size: 0px; padding: 10px 25px; padding-bottom: 20px; word-break: break-word;" align="center">
<div style="font-family: 'Roboto', Arial, sans-serif; font-size: 40px; font-weight: 900; line-height: 24px; text-align: center; color: #2a6adc;">ACCESS REQUESTED</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- [if mso | IE]></td></tr></table><![endif]-->
</td>
</tr>
</tbody>
</table>
</div>
<!-- [if mso | IE]></td></tr></table><table align="center" border="0" cellpadding="0" cellspacing="0" class="body-section-outlook" style="width:600px;" width="600" ><tr><td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"><![endif]-->
<div class="body-section" style="margin: 0px auto; max-width: 600px; width: 500px;">
<table style="width: 500px;" role="presentation" border="0" cellspacing="0" cellpadding="0" align="center">
<tbody>
<tr>
<td style="direction: ltr; font-size: 0px; padding: 20px 0; padding-bottom: 0; padding-top: 0; text-align: center;"><!-- [if mso | IE]><table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td class="" width="600px" ><table align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600" bgcolor="#F0F2F5" ><tr><td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"><![endif]-->
<div style="background: #F0F2F5; background-color: #f0f2f5; margin: 0px auto; max-width: 600px; width: 500px;">
<table style="background: #F0F2F5; background-color: #f0f2f5; width: 100%;" role="presentation" border="0" cellspacing="0" cellpadding="0" align="center">
<tbody>
<tr>
<td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;"><!-- [if mso | IE]><table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td class="" style="vertical-align:top;width:600px;" ><![endif]-->
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size: 0px; text-align: left; direction: ltr; display: inline-block; vertical-align: top; width: 100%;">
<table style="vertical-align: top;" role="presentation" border="0" width="100%" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="font-size: 0px; padding: 10px 25px; word-break: break-word;" align="left">
<div style="font-family: 'Roboto', Arial, sans-serif; font-size: 13px; font-weight: 400; line-height: 24px; text-align: left; color: #000000;">Daniel [and others] [has/have] requested access to the [Entity Names] “[Names of Entities]” for the following research objective:
<br>“[Description of Analysis]”. The access is requested for until XX/XX/XXXX.
</div>
</td>
</tr>
<tr>
<td style="font-size: 0px; padding: 10px 25px; padding-bottom: 15%; word-break: break-word;" align="left">
<div style="font-family: 'Roboto', Arial, sans-serif; font-size: 13px; font-weight: 400; line-height: 24px; text-align: left; color: #000000;">Plesae review the request by selecting View Request below.</div>
</td>
</tr>
<tr>
<td style="font-size: 0px; padding: 10px 25px; padding-bottom: 30px; word-break: break-word;" align="center">
<table style="border-collapse: separate; width: 240px; line-height: 100%;" role="presentation" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td align="center" bgcolor="#2A6ADC" role="presentation" style="border:none;border-radius:27px;cursor:auto;mso-padding-alt:10px 25px;background:#2A6ADC;" valign="middle">
<a href="https://google.com" style="display:inline-block;background:#2A6ADC;color:#ffffff;font-family:'Roboto', Arial, sans-serif;font-size:13px;font-weight:normal;line-height:24px;margin:0;text-decoration:none;text-transform:uppercase;padding:10px 25px;mso-padding-alt:0px;border-radius:27px;" target="_blank">
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAYCAYAAAAPtVbGAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAACGSURBVHgB7dTRCYAgEAbgKxqgERypEdxEmqgRHMUV2uC6gx6MytROEPGDg6ijvzg5gK5qiGjxnaNS8Ae9QOO3rKDRu1YR/dzjIj5mo5qfQiQtVLp0CCv+JxehkHVIwP05IWKmwDNDJ8SAgLpnAoEZpISIaXMmO8hytzu80M7FJsH6C7KrzwEvztK5Nj8QJgAAAABJRU5ErkJggg==" style="vertical-align:middle;" width="25px" height="25px" />
<span style="vertical-align:middle;">View request</span>
</a>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
<!-- [if mso | IE]></td></tr></table><![endif]-->
</td>
</tr>
</tbody>
</table>
</div>
<!-- [if mso | IE]></td></tr></table></td></tr></table><![endif]-->
</td>
</tr>
</tbody>
</table>
</div>
<!-- [if mso | IE]></td></tr></table><![endif]-->
</div>
GMail example
outlook app mail example

Related

How to fix html width rendering problem in outlook

New HTML email template for this client seems to work fine elsewhere but on Outlook it gets displayed too wide or entire screen. I understand that in MSO width rules have to be forced through conditional, but none of my "if mso" would work and it continue to render too wide instead of honouring my 600px request. First time so more in general I'm not too positive that the code I've got down is clean and essential as it should be. Would very much appreciate your expert cross check and if you could point out wherever you see mistakes in it.
<!DOCTYPE html>
<html xmlns="https://www.w3.org/1999/xhtml" xmlns:o="urn:schemas-microsoft-com:office:office">
<head>
<title>{email_subject}</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="format-detection" content="address=no">
<meta name="format-detection" content="telephone=no">
<meta name="format-detection" content="email=no">
<meta name="x-apple-disable-message-reformatting">
<!--[if gte mso 9]><xml><o:OfficeDocumentSettings><o:AllowPNG/><o:PixelsPerInch>96</o:PixelsPerInch></o:OfficeDocumentSettings></xml><![endif]-->
<style type="text/css">
#outlook a{padding:0;}
.ReadMsgBody{width:100%;} .ExternalClass{width:100%;}
.ExternalClass, .ExternalClass p, .ExternalClass span, .ExternalClass font, .ExternalClass td, .ExternalClass div {line-height: 100%;}
body { margin: 0; padding: 0; height: 100%!important; width: 100%!important; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; mso-line-height-rule: exactly;}
table,td {
border-collapse: separate !important;
mso-table-lspace: 0pt;
mso-table-rspace: 0pt;
}
img { border: 0; height: auto; line-height: 100%; outline: none; text-decoration: none; max-width: 100%!important; -ms-interpolation-mode: bicubic;}
img.aligncenter { display: block; margin: 0 auto;}
#media screen and (max-width: 525px) {
.pt-1, .padding-top-15 { padding-top: 15px!important; }
.pb-1, .padding-bottom-15 { padding-bottom: 15px!important; }
.responsive { width:100%!important; }
table.responsive { width:100%!important; float: none; display: table; padding-left: 0; padding-right: 0; }
table[class="responsive"] { width:100%!important; float: none; display: table; padding-left: 0; padding-right: 0; }
img { max-width: 100%!important }
img[class="responsive"] { max-width: 100%!important; }
/* "width: auto" restores the natural dimensions forced with attributes for Outlook */
.fluid { max-width: 100%!important; width: auto; }
img[class="fluid"] { max-width: 100%!important; width: auto; }
.block { display: block; }
td[class="responsive"]{width:100%!important; max-width: 100%!important; display: block; padding-left: 0 !important; padding-right: 0!important; float: none; }
td.responsive { width:100%!important; max-width: 100%!important; display: block; padding-left: 0 !important; padding-right: 0!important; float: none; }
td[class="section-padding-bottom-image"]{
padding: 50px 15px 0 15px !important;
}
.max-width-100 { max-width: 100%!important; }
/* Obsolete */
.tnp-grid-column {
max-width: 100%!important;
}
}
/* Text */
/* Html */
.html-td-global p {
font-family: Helvetica, Arial, sans-serif;
font-size: 16px;
}
/* Last posts */
#media (max-width: 525px) {
.posts-1-column {
width: 100%!important;
}
.posts-1-image {
width: 100%!important;
display: block;
}
}
/* Gallery */
.gallery-medium {
box-sizing: border-box;
width: 280px;
height: 200px;
max-width: 100%!important;
overflow: hidden;
display: inline-block;
text-align: center;
padding: 0;
margin: 5px;
}
#media all and (max-width: 480px) {
.gallery-thumbnail-img {
max-width: 45%;
}
.gallery-medium {
max-width: 100%!important;
height: auto;
display: block;
margin-bottom: 10px;
}
}
/* A single full post */
#media all and (max-width: 480px) {
.single-post-gallery img {
max-width: 40%;
}
.single-post-1-column {
width: 100%!important;
}
.single-post-1-image {
width: 100%!important;
display: block;
}
}
/* List */
#media all and (max-width: 480px) {
.list-text .mobile {
font-size: 20px;
}
}
/* Columns */
#media only screen and (min-width:480px) {
.mj-column-per-50 {
width: 50% !important;
max-width: 50%;
}
}
#media only screen and (min-width:480px) {
.mj-column-per-33 {
width: 33.333333333333336% !important;
max-width: 33.333333333333336%;
}
}
#media only screen and (min-width:480px) {
.mj-column-per-25 {
width: 25% !important;
max-width: 25%;
}
}
</style>
</head>
<body style="margin: 0; padding: 0; line-height: normal; word-spacing: normal;" dir="ltr">
<table cellpadding='0' cellspacing='0' border='0' width='100%'>
<tr>
<td bgcolor='#ffffff' valign='top'><!-- tnp --><table border="0" cellpadding="0" cellspacing="0" align="center" width="100%" style="border-collapse: collapse; width: 100%;" class="tnpc-row tnpc-row-block ui-sortable-handle" data-id="image">
<tbody><tr><td align="center" style="padding: 0;" class="edit-block">
<!--[if mso | IE]><!--[if mso]><table role=3D"presentation" align=3D"center" style=3D"width:600px;"><![endif]--> <table type="options" data-json="eyJibG9ja19wYWRkaW5nX3RvcCI6MjAsImJsb2NrX3BhZGRpbmdfYm90dG9tIjoyMCwiYmxvY2tfcGFkZGluZ19yaWdodCI6MTUsImJsb2NrX3BhZGRpbmdfbGVmdCI6MTUsImJsb2NrX2JhY2tncm91bmQiOiIiLCJibG9ja19iYWNrZ3JvdW5kXzIiOiIiLCJibG9ja193aWR0aCI6NjAwLCJibG9ja19hbGlnbiI6ImNlbnRlciIsImh0bWwiOiJcdTAwM0NwIHN0eWxlPVwibWFyZ2luOiAwcHg7dGV4dC1hbGlnbjogcmlnaHRcIlx1MDAzRTI1IG5vdmVtYnJlMjAyMlx1MDAzQ1wvcFx1MDAzRSIsImZvbnRfZmFtaWx5IjoiIiwiZm9udF9zaXplIjoiIiwiZm9udF9jb2xvciI6IiIsImlubGluZV9lZGl0cyI6IiIsImJsb2NrX2lkIjoidGV4dCJ9" cellpadding="0" align="center" cellspacing="0" width="100%" style=" border-left: 1px #C0C0C0 solid; border-right: 1px #C0C0C0 solid; width: 100%!important; max-width: 600px!important">
<tbody><tr><td align="center" style="text-align: center; width: 100% !important; line-height: normal !important; letter-spacing: normal; padding-top: 15px; padding-left: 0px; padding-right: 0px; padding-bottom: 0px; background-color: #ffffff;" bgcolor="#ffffff" width="100%"><table width="100%"><tbody><tr><td align="center"><img src="https://ilborgodiparma.net/wp-content/uploads/2022/12/BorgoNews_header_2023-e1671190356968.jpg" width="" alt="" border="0" style="display: block; max-width: px !important; width: 100%; padding: 0; border: 0; font-size: 12px"></td></tr></tbody></table></td></tr></tbody></table><!--[if mso | IE]></td></tr></table><![endif]--></td></tr></tbody></table><table border="0" cellpadding="0" cellspacing="0" align="center" width="100%" style="border-collapse: collapse; width: 100%;" class="tnpc-row tnpc-row-block ui-sortable-handle" data-id="text">
<tbody><tr><td align="center" style="padding: 0;" class="edit-block"><!--[if mso | IE]><table role="presentation" border="0" cellpadding="0" align="center" cellspacing="0" width="600"><tr><td width="600" style="vertical-align:top;width:600px;"><![endif]--><table type="options" data-json="eyJibG9ja19wYWRkaW5nX3RvcCI6MjAsImJsb2NrX3BhZGRpbmdfYm90dG9tIjoyMCwiYmxvY2tfcGFkZGluZ19yaWdodCI6MTUsImJsb2NrX3BhZGRpbmdfbGVmdCI6MTUsImJsb2NrX2JhY2tncm91bmQiOiIiLCJibG9ja19iYWNrZ3JvdW5kXzIiOiIiLCJibG9ja193aWR0aCI6NjAwLCJibG9ja19hbGlnbiI6ImNlbnRlciIsImh0bWwiOiJcdTAwM0NwIHN0eWxlPVwibWFyZ2luOiAwcHg7dGV4dC1hbGlnbjogcmlnaHRcIlx1MDAzRTI1IG5vdmVtYnJlMjAyMlx1MDAzQ1wvcFx1MDAzRSIsImZvbnRfZmFtaWx5IjoiIiwiZm9udF9zaXplIjoiIiwiZm9udF9jb2xvciI6IiIsImlubGluZV9lZGl0cyI6IiIsImJsb2NrX2lkIjoidGV4dCJ9" class="tnpc-block-content" border="0" cellpadding="0" align="center" cellspacing="0" width="100%" style="border-left: 1px #C0C0C0 solid; border-right: 1px #C0C0C0 solid; width: 100%!important; max-width: 600px!important">
<tbody><tr><td align="center" style="text-align: center; width: 100% !important; line-height: normal !important; letter-spacing: normal; padding-top: 0px; padding-left: 15px; padding-right: 15px; padding-bottom: 10px; background-color: #ffffff;" bgcolor="#ffffff" width="100%"><table width="100%" style="width: 100%!important" border="0" cellpadding="0" cellspacing="0">
<tbody><tr>
<td width="100%" valign="top" align="left" style="font-family: 'Open Sans', sans-serif; font-size: 15px; font-weight: normal; color: #313131; line-height: 1.5;">
<p style="margin: 0px;padding-top:0px;padding-bottom: 10px; text-align: right">16 febbraio 2023</p> </td>
</tr>
</tbody></table></td></tr></tbody></table><!--[if mso | IE]></td></tr></table><![endif]--></td></tr></tbody></table><table border="0" cellpadding="0" cellspacing="0" align="center" width="100%" style="border-collapse: collapse; width: 100%;" class="tnpc-row tnpc-row-block ui-sortable-handle" data-id="cpt">
<tbody><tr><td align="center" style="padding: 0;" class="edit-block"><!--[if mso | IE]><table role="presentation" border="0" cellpadding="0" align="center" cellspacing="0" width="600"><tr><td width="600" style="vertical-align:top;width:600px;"><![endif]--><table type="options" data-json="eyJibG9ja19wYWRkaW5nX3RvcCI6MTUsImJsb2NrX3BhZGRpbmdfYm90dG9tIjoxNSwiYmxvY2tfcGFkZGluZ19yaWdodCI6MTUsImJsb2NrX3BhZGRpbmdfbGVmdCI6MTUsImJsb2NrX2JhY2tncm91bmQiOiIiLCJibG9ja19iYWNrZ3JvdW5kXzIiOiIiLCJibG9ja193aWR0aCI6NjAwLCJibG9ja19hbGlnbiI6ImNlbnRlciIsImxhbmd1YWdlIjoiIiwicG9zdF90eXBlIjoicG9zdCIsIm1heCI6IjUiLCJpbWFnZSI6IjEiLCJkYXRlIjoiMSIsImF1dGhvciI6IjEiLCJ0aXRsZV9mb250X2ZhbWlseSI6IiIsInRpdGxlX2ZvbnRfc2l6ZSI6IiIsInRpdGxlX2ZvbnRfY29sb3IiOiIiLCJ0aXRsZV9mb250X3dlaWdodCI6IiIsImZvbnRfZmFtaWx5IjoiIiwiZm9udF9zaXplIjoiIiwiZm9udF9jb2xvciI6IiIsImZvbnRfd2VpZ2h0IjoiIiwiYnV0dG9uX2xhYmVsIjoiQ09OVElOVUEiLCJidXR0b25fYmFja2dyb3VuZCI6IiIsImJ1dHRvbl9mb250X2NvbG9yIjoiIiwiYnV0dG9uX2ZvbnRfZmFtaWx5IjoiIiwiYnV0dG9uX2ZvbnRfc2l6ZSI6IiIsImJ1dHRvbl9mb250X3dlaWdodCI6IiIsInNob3dfcmVhZF9tb3JlX2J1dHRvbiI6IjEiLCJhdXRvbWF0ZWRfaW5jbHVkZSI6Im5ldyIsImF1dG9tYXRlZF9ub19jb250ZW50cyI6Ik5vIG5ldyBwb3N0cyBieSBub3chIiwiYXV0b21hdGVkIjoiIiwibGF5b3V0IjoiYmlnLWltYWdlIiwiaW5saW5lX2VkaXRzIjpbXSwiZXhjZXJwdF9sZW5ndGgiOiI2OCIsInRheF9jYXRlZ29yeSI6WyI0MyJdLCJ0YWdfcG9zdF90YWciOiIiLCJ0YWdfcG9zdF9mb3JtYXQiOiIiLCJibG9ja19pZCI6ImNwdCJ9" class="tnpc-block-content" border="0" cellpadding="0" align="center" cellspacing="0" width="100%" style="border-left: 1px #C0C0C0 solid; border-right: 1px #C0C0C0 solid; width: 100%!important; max-width: 600px!important">
<tbody><tr><td align="center" style="text-align: center; width: 100% !important; line-height: normal !important; letter-spacing: normal; padding-top: 5px; padding-left: 15px; padding-right: 15px; padding-bottom: 15px; background-color: #ffffff;" bgcolor="#ffffff" width="100%"><table width="100%" cellpadding="0" cellspacing="0" border="0" style="margin-bottom: 20px">
<table width="100%" cellpadding="0" cellspacing="0" border="0" style="margin-bottom: 20px">
<tbody><tr>
<td align="center">
<img src="https://ilborgodiparma.net/wp-content/uploads/2023/02/Monica_Cocconi_Borgo.jpeg" alt="" border="0" style="display: inline-block; max-width: 100%!important; padding-top: 30px; border: 0; font-size: 12px" class=""> </td>
</tr>
</tbody></table>
<table width="100%" cellpadding="0" cellspacing="0" border="0" class="responsive" style="margin: 0;">
<tbody><tr>
<td>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody><tr>
<td align="left" style="font-size: 20px;font-family: Helvetica, Arial, sans-serif;font-weight: bold;color: #222222; line-height: normal !important; padding: 0 0 0px 0;" class="title tnpc-row-edit tnpc-inline-editable" data-type="title" data-id="156" dir="ltr">
AUTONOMIA DIFFERENZIATA E PRINCIPI FONDAMENTALI di Monica Cocconi <hr style="width: 20%" noshade="noshade" color="#dd3333" align="left" size="1px"></td>
</tr>
<tr>
<td align="left" style="font-size: 16px;font-family: Open-sans, Geneva, sans-serif; font-weight: normal;color: #313131; line-height: 1.5em!important; padding: 10px 0 15px 0;" class="tnpc-row-edit tnpc-inline-editable" data-type="text" data-id="9484" dir="ltr">
La recente proposta sull’attuazione dell’autonomia differenziata prevista dall’art. 116, comma terzo della Costituzione, ossia del riconoscimento alle regioni ordinarie di «ulteriori forme e condizioni ... </td>
</tr>
<tr>
<td align="right" inline-class="button">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="margin: 5px auto 5px" align="right"><tbody><tr><td align="center" bgcolor="#ffff" role="presentation" style="border:1px solid #dd3333 !important; cursor:auto;mso-padding-alt:10px 25px; background:#ffff" valign="middle">CONTINUA</td></tr></tbody></table> </td>
</tr>
<tr>
<td style="padding-bottom:0px; padding-top:25px"> <hr align="left" noshade="noshade" color="#dd3333" size="1px"> </td>
</tr>
</tbody></table>
</td>
</tr>
</tbody></table>
<table width="100%" cellpadding="0" cellspacing="0" border="0" style="margin-bottom: 20px">
<tbody><tr>
<td align="center">
<img src="https://ilborgodiparma.net/wp-content/uploads/2023/02/Veronica_valenti_parma.jpeg" width="570" height="297" alt="" border="0" style="display: inline-block; max-width: 100%!important; padding-top: 30px; border: 0; font-size: 12px" class=""> </td>
</tr>
</tbody></table>
<table width="100%" cellpadding="0" cellspacing="0" border="0" class="responsive" style="margin: 0;">
<tbody><tr>
<td>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody><tr>
<td align="left" style="font-size: 20px;font-family: Helvetica, Arial, sans-serif;font-weight: bold;color: #222222; line-height: normal !important; padding: 0 0 0px 0;" class="title tnpc-row-edit tnpc-inline-editable" data-type="title" data-id="156" dir="ltr">
LA TUTELA DEI DIRITTI DELLE PERSONE IN STATO DI DETENZIONE di Veronica Valenti <hr style="width: 25%" noshade="noshade" color="#dd3333" align="left" size="1px"></td>
</tr>
<tr>
<td align="left" style="font-size: 16px;font-family: Open-Sans, Geneva, sans-serif;font-weight: normal;color: #313131; line-height: 1.5em!important; padding: 10px 0 15px 0;" class="tnpc-row-edit tnpc-inline-editable" data-type="text" data-id="9240" dir="ltr">
E’ davvero un onore per me ricoprire l’incarico di Garante comunale dei diritti delle persone private della libertà personale. E il fatto che il Comune di Parma abbia inteso istituire tale Ufficio dimostra la sensibilità della ... </td>
</tr>
<tr>
<td align="right" inline-class="button">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="margin: 5px auto 5px" align="right"><tbody><tr><td align="center" bgcolor="#fff" role="presentation" style="border:1px solid #dd3333; cursor:auto;mso-padding-alt:10px 25px;background:#fff" valign="middle">CONTINUA</td></tr></tbody></table> </td>
</tr>
<tr>
<td style="padding-bottom:0px; padding-top:25px"> <hr align="left" noshade="noshade" color="#dd3333" size="1px"> </td>
</tr>
</tbody></table>
</td>
</tr>
</tbody></table>
<center><img src="https://ilborgodiparma.net/wp-content/uploads/2022/12/Oltrelemura_Newsletter.png" width="" alt="" border="0" style="display: block; max-width: 400px !important; width: 400px !important; padding: 0; border: 0; font-size: 12px"></center>
<table width="100%" cellpadding="0" cellspacing="0" border="0" style="margin-bottom: 20px">
<tbody><tr>
<td align="center">
<img src="https://ilborgodiparma.net/wp-content/uploads/2022/10/Oltrelemura_web-e1667502181350-1170x535.jpeg" alt="" border="0" style="display: inline-block; max-width: 100%!important; padding: 0; border: 0; font-size: 12px" class=""> </td>
</tr>
</tbody></table>
<table width="100%" cellpadding="0" cellspacing="0" border="0" class="responsive" style="margin: 0;">
<tbody><tr>
<td>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody><tr>
<td align="left" style="font-size: 20px;font-family: Helvetica, Arial, sans-serif;font-weight: bold;color: #222222; line-height: normal !important; padding: 0 0 0px 0;" class="title tnpc-row-edit tnpc-inline-editable" data-type="title" data-id="156" dir="ltr">
OLTRELEMURA del 02.02.2023 a cura di Graziano Vallisneri <hr style="width: 25%" noshade="noshade" color="#dd3333" align="left" size="1px"></td>
</tr>
<tr>
<td align="left" style="font-size: 16px;font-family: Open-Sans, Geneva, sans-serif;font-weight: normal;color: #313131; line-height: 1.5em!important; padding: 10px 0 15px 0;" class="tnpc-row-edit tnpc-inline-editable" data-type="text" data-id="9194" dir="ltr">
</td>
</tr>
<tr>
<td align="right" inline-class="button">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="margin: 5px auto 0px" align="right"><tbody><tr><td align="center" bgcolor="#fff" role="presentation" style="border:1px solid #dd3333; cursor:auto;mso-padding-alt:10px 25px;background:#fff" valign="middle">CONTINUA</td></tr></tbody></table> </td>
</tr>
<td style="padding-top:25px"> <hr align="left" noshade="noshade" color="#dd3333" size="1px"> </td>
</tbody></table>
</tbody></table></td></tr></tbody></table><!--[if mso | IE]></td></tr></table><![endif]--></td></tr></tbody></table><table border="0" cellpadding="0" cellspacing="0" align="center" width="100%" style="border-collapse: collapse; width: 100%;" class="tnpc-row tnpc-row-block ui-sortable-handle" data-id="image">
<tb0;" class="edit-block"><!--[if mso | IE]><table ="0" cellpadding="0" align="center" cellspacing="0" width="600"><tr><td width="600" style="vertical-align:top;width:600px;"><![endif]--><table type="options" data-json="eyJibG9ja19wYWRkaW5nX3RvcCI6MTUsImJsb2NrX3BhZGRpbmdfYm90dG9tIjoxNSwiYmxvY2tfcGFkZGluZ19yaWdodCI6MCwiYmxvY2tfcGFkZGluZ19sZWZ0IjowLCJibG9ja19iYWNrZ3JvdW5kIjoiIiwiYmxvY2tfYmFja2dyb3VuZF8yIjoiIiwiYmxvY2tfd2lkdGgiOjYwMCwiYmxvY2tfYWxpZ24iOiJjZW50ZXIiLCJpbWFnZSI6eyJpZCI6IjE1MzM0IiwidXJsIjoiaHR0cDpcL1wvcHJvdmFib3Jnby5pdFwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyMlwvMTFcL2ZhY2Vib29rLW5ld2xldHRlci5qcGcifSwiaW1hZ2UtYWx0IjoiIiwidXJsIjoiIiwid2lkdGgiOiIxMDAiLCJhbGlnbiI6ImNlbnRlciIsImlubGluZV9lZGl0cyI6IiIsInBsYWNlaG9sZGVyIjoiIiwiaW1hZ2UtdXJsIjoiaHR0cDpcL1wvcHJvdmFib3Jnby5pdFwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyMlwvMTFcL2ZhY2Vib29rLW5ld2xldHRlci5qcGciLCJibG9ja19pZCI6ImltYWdlIn0=" class="tnpc-block-content" border="0" cellpadding="0" align="center" cellspacing="0" width="100%" style="border-left: 1px #C0C0C0 solid; border-right: 1px #C0C0C0 solid; width: 100%!important; max-width: 600px!important">
<tbody><tr><td align="center" style="text-align: center; width: 100% !important; line-height: normal !important; letter-spacing: normal; padding-top: 5px; padding-left: 0px; padding-right: 0px; padding-bottom: 5px; background-color: #ffffff;" bgcolor="#ffffff" width="100%"><table width="100%"><tbody><tr><td align="center"><img src="https://ilborgodiparma.net/wp-content/uploads/2022/12/seguici-anche-su-facebook.jpg" width="100" height="43" alt="" border="0" style="display: block; max-width: 200px !important; width: 100%; padding: 0; border: 0; font-size: 12px"></td></tr></tbody></table></td></tr></tbody></table><!--[if mso | IE]></td></tr></table><![endif]--></td></tr></tbody></table><table border="0" cellpadding="0" cellspacing="0" align="center" width="100%" style="border-collapse: collapse; width: 100%;" class="tnpc-row tnpc-row-block ui-sortable-handle" data-id="footer">
<tbody><tr><td align="center" style="padding: 0;" class="edit-block"><!--[if mso | IE]><table role="presentation" border="0" cellpadding="0" align="center" cellspacing="0" width="margin-top: 0; 600"><tr><td width="600" style="vertical-align:top;width:600px;"><![endif]--><table type="options" data-json="eyJibG9ja19wYWRkaW5nX3RvcCI6MTUsImJsb2NrX3BhZGRpbmdfYm90dG9tIjoxNSwiYmxvY2tfcGFkZGluZ19yaWdodCI6MTUsImJsb2NrX3BhZGRpbmdfbGVmdCI6MTUsImJsb2NrX2JhY2tncm91bmQiOiIiLCJibG9ja19iYWNrZ3JvdW5kXzIiOiIiLCJibG9ja193aWR0aCI6NjAwLCJibG9ja19hbGlnbiI6ImNlbnRlciIsInZpZXciOiJHdWFyZGEgb25saW5lIiwidmlld19lbmFibGVkIjoiMSIsInByb2ZpbGUiOiJHZXN0aXNjaSBpIHR1b2kgYWJib25hbWVudGkiLCJwcm9maWxlX2VuYWJsZWQiOiIxIiwidW5zdWJzY3JpYmUiOiJEaXNpc2NyaXZpdGkiLCJ1bnN1YnNjcmliZV9lbmFibGVkIjoiMSIsImZvbnRfZmFtaWx5IjoiIiwiZm9udF9zaXplIjoiIiwiZm9udF9jb2xvciI6IiIsImZvbnRfd2VpZ2h0IjoiIiwidXJsIjoicHJvZmlsZSIsImlubGluZV9lZGl0cyI6IiIsImJsb2NrX2lkIjoiZm9vdGVyIn0=" class="tnpc-block-content" border="0" cellpadding="0" align="center" cellspacing="0" width="100%" style="border-left: 1px #C0C0C0 solid; border-right: 1px #C0C0C0 solid; width: 100%!important; max-width: 600px!important">
<tbody><tr><td align="center" style="text-align: center; width: 100% !important; line-height: normal !important; letter-spacing: normal; padding-top: 5px; padding-left: 15px; padding-right: 15px; padding-bottom: 0px; background-color: #ffffff;" bgcolor="#ffffff" width="100%"><a style="font-size: 11px;font-family: Verdana, Geneva, sans-serif;font-weight: normal;color: #dd3333; text-decoration: none; line-height: normal;" href="https://ilborgodiparma.net/contatti?utm_source=BorgoNews&utm_medium=email&utm_campaign=BN_160223&utm_content=contatti_link" target="_blank">Circolo Il Borgo di Parma - Via A. Turchi 15A Parma 43125 - Telefono: 0521284203</a><br><span style="font-size: 10px;font-family: Verdana, Geneva, sans-serif;font-weight: normal;color: #222222; text-decoration: none; line-height: normal;">Per aggiornare o cancellare la tua iscrizione</span><a style="font-size: 10px;font-family: Verdana, Geneva, sans-serif;font-weight: normal;color: #222222; text-decoration: none; line-height: normal;" href="{profile_url}" target="_blank"> clicca qui.</a><br><br><a style="font-size: 11px;font-family: Verdana, Geneva, sans-serif;font-weight: normal;color: #222222; text-decoration: none; line-height: normal;" href="https://www.p40.us/" target="_blank">Progetto e realizzazione</a><a style="font-size: 11px;font-family:'trebuchet ms', Geneva, sans-serif;font-weight: 700; color: #222222; text-decoration: none; line-height: normal;" href="https://www.p40.us/" target="_blank"> P40.</a></td></tr></tbody></table><!--[if mso | IE]></td></tr></table><![endif]--></td></tr></tbody></table>
<!-- /tnp -->
</body>
</html>
Outlook desktop does this when you do not specify a width attribute in images (width="x"). It will then use the native width of the image, which of course could be 1000px+.
Ensure you add the correct width attribute to all your images that you want Outlook to use. Continue to use style="width:xx" for everything else (this will take priority on everything except for Outlook, which ignores it completely).
e.g. change this:
<img src="https://ilborgodiparma.net/wp-content/uploads/2022/12/BorgoNews_header_2023-e1671190356968.jpg" width="" alt="" border="0" style="display: block; max-width: px !important; width: 100%; padding: 0; border: 0; font-size: 12px">
Into this:
<img src="https://ilborgodiparma.net/wp-content/uploads/2022/12/BorgoNews_header_2023-e1671190356968.jpg" width="500" alt="" border="0" style="display: block; max-width: px !important; width: 100%; padding: 0; border: 0; font-size: 12px">
Do not use "px" or other measurement in a width attribute. It should be just a number.

How to make a table stack on mobile?

Working on a newsletter template, and I'm trying to get a table of three ads (and a gap in between) to display one beneath the other on mobile, while displaying as a row on desktop (which is behaving as expected right now).
I've looked at Media Queries and classes to see what I can do including display: block and so forth, but haven't come up with anything that works in testing.
Here's the table that is housing these images:
<!-- begin snippet: js hide: false console: true babel: false -->
<table idstyle="-webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; mso-table-lspace: 0pt; mso-table-rspace: 0pt; border-spacing: 0; border-collapse: collapse;" align="center" border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td style="-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;word-break: break-word;-webkit-hyphens: none;-moz-hyphens: none;hyphens: none;border-collapse: collapse;background-color:${freeTextBackgroundColor};"
bgcolor="${freeTextBackgroundColor}" valign="top">
<center>
<table class="table600" style="-webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; mso-table-lspace: 0pt; mso-table-rspace: 0pt; border-spacing: 0; border-collapse: collapse; margin-top: 0; margin-right: auto; margin-bottom: 0; margin-left: auto;"
align="center" border="0" cellpadding="0" cellspacing="0" width="600">
<tbody>
<tr>
<td class="" style="-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;word-break: break-word;-webkit-hyphens: none;-moz-hyphens: none;hyphens: none;border-collapse: collapse;line-height:${freeTextSpacer};font-size:${freeTextSpacer};"
height="${freeTextSpacer}"> </td>
</tr>
<tr>
<td class="secondary-font text" style="-moz-hyphens: none;-webkit-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;word-break: break-word;-webkit-hyphens: none;-ms-text-size-adjust: 100%;hyphens: none;font-family:'Lato', Arial, sans-serif;font-size: 14px;line-height: 23px;color: #666666;border-collapse: collapse;">
<div>
<table>
<tbody>
<tr>
<td align="center" valign="top" width="300" style="width: 300px;"> <img src="<IMG SRC FOR BLOCK 1>" /> </td>
<td align="center" valign="top" width="50" style="width: 50px;"></td>
<td align="center" valign="top" width="300" style="width: 300px;"> <img src="<IMG SRC FOR BLOCK 1>" /> </td>
</tr>
</tbody>
</table>
</div>
</td>
</tr>
<tr>
<td class="" style="-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;word-break: break-word;-webkit-hyphens: none;-moz-hyphens: none;hyphens: none;border-collapse: collapse;line-height:${freeTextSpacer2};font-size:${freeTextSpacer2};"
height="${freeTextSpacer2}"> </td>
</tr>
</tbody>
</table>
</center>
</td>
</tr>
</tbody>
</table>
Desktop View (Works):
Mobile View (Problem):
I need to keep the Desktop as is, but make the two blocks on mobile appear one underneath the other.
/* Prevent WebKit and Windows mobile changing default text sizes */
body, table, td, a{-webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%;}
/* RESET STYLES */
img{border: 0; height: auto; line-height: 100%; outline: none; text-decoration: none;}
table{border-collapse: collapse !important;}
body{height: 100% !important; margin: 0 !important; padding: 0 !important; width: 100% !important;}
table, td { border-collapse: collapse; mso-table-lspace:0pt; mso-table-rspace:0pt !important;}
/* remove the download icon from gmail*/
img + div { display:none; }
/* iOS BLUE LINKS */
a[x-apple-data-detectors] {
color: inherit !important;
text-decoration: none !important;
font-size: inherit !important;
font-family: inherit !important;
font-weight: inherit !important;
line-height: inherit !important;
}
#media only screen and (max-width: 525px) {
/* ALLOWS FOR FLUID TABLES */
.wrapper {
width: 100% !important;
max-width: 100% !important;
}
/* FULL-WIDTH TABLES */
.responsive-table {
width: 100% !important;
}
/* ADJUST BUTTONS ON MOBILE */
.mobile-button-container {
margin: 0 auto;
width: 100% !important;
}
/* FULL WIDTH IMAGE */
.img-max {
max-width: 100% !important;
width: 100% !important;
height: auto !important;
}
/* EVENT SECTION BUTTON */
.button-padding {
padding-left: 30px;
padding-right: 30px;
}
.mobile-center {
text-align: center !important;
}
.remove-float {
float: none !important;
margin: 0 auto !important;
display: inline-block !important;
}
.normal-padding {
padding-top: 20px !important;
}
table[class="body"] .content--wrapper {
padding-left: 20px !important;
padding-right: 20px !important;
}
table[class="body"] .responsive-table {
float: none !important;
width: 100% !important;
clear: both;
}
.center-responsive{
text-align: -webkit-center;
}
}
#media screen and (max-width: 599px) {
.container {
width: 100%!important;
}
.wrapper {
width: 100% !important;
max-width: 100% !important;
}
.mobile-center {
width: 100% !important;
text-align: center !important;
}
.remove-float {
float: none !important;
margin: 0 auto !important;
display: inline-block !important;
}
.col-2 {
max-width: 100% !important;
width: 100% !important;
}
.col-3 {
max-width: 100% !important;
width: 100% !important;
}
.pi-col-wrapper {
display: block;
width: 100%!important;
}
.pi-col {
width: 100%;
}
.center-responsive{
text-align: -webkit-center;
}
}
#media screen and (min-width: 600px) {
.container {
width: 600px!important;
margin: 0 auto!important;
}
.mobile-center {
width: 100% !important;
}
.col-2 {
display: inline-block !important;
width: 262px !important;
}
.col-3 {
display: inline-block !important;
width: 185px !important;
}
.fluid-wrapper {
width: 540px !important;
}
.pi-col-wrapper {
display: inline-block;
width: 50%!important;
}
.pi-col {
width: 255px !important;
}
.center-responsive{
text-align: -webkit-right;
}
}
/* ANDROID CENTER FIX */
div[style*="margin: 16px 0;"] { margin: 0 !important; }
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, maximum-scale=1, minimum-scale=1, user-scalable=no">
<title>Janssen</title>
<!--[if gte mso 9]>
<style>
sup { font-size: 100% !important; }
</style>
<xml>
<o:OfficeDocumentSettings>
<o:AllowPNG/>
<o:PixelsPerInch>96</o:PixelsPerInch>
</o:OfficeDocumentSettings>
</xml>
<![endif]-->
</head>
<body style="-moz-osx-font-smoothing: grayscale; -ms-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%; background-color: #f4f4f4; color: #4e5054; font-family: 'Verdana', 'Arial', 'Helvetica', sans-serif; font-size: 12px; font-smoothing: antialiased; font-weight: normal; line-height: 18px; margin: 0; min-width: 100%; padding: 0; text-align: left; width: 100% !important;">
<table cellpadding="0" cellspacing="0" border="0" width="100%" bgcolor="#f4f4f4" style="width:100% !important;">
<tbody>
<tr>
<td align="center" valign="top">
<table class="container" cellpadding="0" cellspacing="0" border="0" width="600" bgcolor="#ffffff">
<tbody>
<!-- ========== INTRO TEXT WITH SIGNATURE STARTS ========== -->
<tr>
<td class="content--wrapper" style="-moz-osx-font-smoothing: grayscale; -webkit-font-smoothing: antialiased; border-collapse: collapse; color: #717171; font-family: 'Verdana', 'Arial', 'Helvetica', sans-serif; font-size: 12px; font-smoothing: antialiased; font-weight: normal; line-height: 20px; margin: 0; padding: 15px 30px 37px; text-align: left; vertical-align: top;">
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="border-collapse: collapse; border-spacing: 0; padding: 0; text-align: left; vertical-align: top; width: 100%; width: 100% !important;">
<tbody>
<tr>
<td bgcolor="#ffffff" align="center" style="padding: 0;" class="section-padding">
<table border="0" cellpadding="0" cellspacing="0" width="540" style="padding: 0;" class="responsive-table">
<tbody>
<tr>
<td align="center" height="100%" valign="top" width="100%" style="padding-bottom: 20px;">
<!--[if (gte mso 9)|(IE)]>
<table align="center" border="0" cellspacing="0" cellpadding="0" width="540">
<tr>
<td align="center" valign="top" width="540">
<![endif]-->
<table align="center" border="0" cellpadding="0" cellspacing="0" width="100%" style="max-width:540;">
<tbody>
<tr>
<td align="left" valign="top" style="font-size:0;" bgcolor="#f7f7f7">
<!--[if (gte mso 9)|(IE)]>
<table align="center" border="0" cellspacing="0" cellpadding="0" width="540">
<tr>
<td align="left" valign="top" width="268">
<![endif]-->
<div style="display:inline-block; max-width:268px; vertical-align:top; width:100%;" class="wrapper">
<table align="left" border="0" cellpadding="0" cellspacing="0" width="168" class="wrapper">
<tbody>
<tr>
<td valign="top">
<img src="https://dummyimage.com/262x170/000/fff.png" alt="alt text here" width="262" height="170" border="0" style="display: block; font-family: Arial; color: #266e9c; font-size: 14px;" class="wrapper">
</td>
</tr>
</tbody>
</table>
</div>
<!--[if (gte mso 9)|(IE)]>
</td>
<td align="left" valign="top" width="268">
<![endif]-->
<div style="display:inline-block; max-width:268px; vertical-align:top; width:100%;" class="wrapper">
<table align="left" bgcolor="#f7f7f7" border="0" cellpadding="0" cellspacing="0" width="100%" style="max-width: 268px; float: right;" class="wrapper">
<tbody>
<tr>
<td style="padding: 15px;padding-top: 27px" class="no-padding">
<!-- ARTICLE -->
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td align="left" style="font-size: 13px; line-height: 20px; color: #717171; font-family: 'Verdana', 'Arial', 'Helvetica', sans-serif; text-decoration: none;" class="padding-copy">
Lorem Ipsum is simply dummy text of the printing and typesetting industry.
</td>
</tr>
<tr>
<td align="left" style="font-family: 'Verdana', 'Arial', 'Helvetica', sans-serif; font-size: 12px; font-weight: normal; line-height: 20px; padding-bottom: 9px;padding-top: 16px;" class="">
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td align="center" style="border-radius: 5px; padding:9px 14px 9px 14px;" bgcolor="#002060">
READ MORE >
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
<!--[if (gte mso 9)|(IE)]>
</td>
</tr>
</table>
<![endif]-->
</td>
</tr>
</tbody>
</table>
<!--[if (gte mso 9)|(IE)]>
</td>
</tr>
</table>
<![endif]-->
</td>
</tr>
<!-- ========== LEFT RIGHT TWO COLUMN WITH THUMBNAIL ENDS ========== -->
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</body>
</html>
I have tested on outlook and also checked the orientation issue on iPhone. It's working perfectly on devices. Just put the contents and adjust accordingly. Hope it'll help

Why i have padding above left first lorem ipsum?

I am creating html templemate because I want to send some mails. But I have problem. In my templemate on the left side is padding on th I think. But I can not delete it and I do not know how to delete it. I want to have that left elements on the same level like this on the right side. Can you help me? I am appreciate help. It is very important for me.
<html>
<head>
<style type="text/css">
body {
width: 100% !important;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
margin: 0;
padding: 0;
line-height: 100%;
}
#outlook a {
padding: 0;
}
.ExternalClass {
width: 100%;
}
.ExternalClass,
.ExternalClass p,
.ExternalClass span,
.ExternalClass font,
.ExternalClass td,
.ExternalClass div {
line-height: 100%;
border-collapse: collapse;
}
.tablereset {
margin: 0 auto;
width: 640px !important;
line-height: 100% !important
}
.button {
margin: 0 auto !important;
}
.devicewidthsocial {
margin: 0 auto;
}
table td {
border-collapse: collapse;
}
table {
border-collapse: collapse;
mso-table-lspace: 0pt;
mso-table-rspace: 0pt;
}
td.boxesfont {
font-size: 17px !important;
font-family: 'Roboto', Arial, Helvetica, sans-serif!important
}
td[class*=font-resize] {
font-size: 140%!important
}
#media only screen and (max-width:640px) {
a[href="tel"],
a[href="sms"] {
text-decoration: none;
color: #ffffff;
pointer-events: none;
cursor: default;
}
tr.removemobile {
display: none;
}
td[class*=threecolumnphoto] {
padding-bottom: 20px;
}
table[class*=button] {
float: none;
}
table.removemobile {
display: none;
}
table.tablereset {
margin: 0 auto;
width: 440px !important;
line-height: 100% !important
}
table[class*=devicewidth] {
width: 440px!important;
text-align: center!important;
float: none!important;
display: table!important;
}
table[class*=devicewidthinner] {
width: 400px!important;
text-align: center!important;
float: none!important;
}
table[class*=devicewidthinner3] {
width: 173px!important;
float: none!important;
}
img[class*=logoImg] {
width: 110px!important;
height: auto!important;
}
}
#media only screen and (max-width:479px) {
table.removemobile {
display: none;
}
table[class*=tablereset] {
margin: 0 auto;
width: 280px !important;
line-height: 100% !important
}
img[class*=logoImg] {
width: 100px!important;
height: auto!important;
}
td[class*=threecolumnphoto] {
padding-bottom: 20px;
}
table[class*=devicewidthright] {
width: 160px!important;
}
table[class*=devicewidth] {
width: 280px!important;
float: none!important;
display: table!important;
}
table[class*=devicewidthinner] {
width: 240px!important;
float: none!important;
}
table[class*=devicewidthinner3] {
width: 173px!important;
float: none!important;
}
table[class*=button] {
float: none!important;
}
table[class*=button] td,
table[class*=button] td a {
font-size: 12px!important;
}
td[class*=oswaldfont] {
font-size: large!important;
}
}
</style>
</head>
<body style="margin:0; padding:0">
<table class="tablereset" align="center" border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td width="640">
<table class="devicewidth" align="center" bgcolor="#ffffff" border="0" cellpadding="0" cellspacing="0" width="640">
<tbody>
<tr>
<td align="center" style="font-size:1px; line-height:1px" height="58" width="640"> </td>
</tr>
<tr>
<td>
<p style="font-family:Open Sans; text-align: center; color: #606060;">Nowy outlet mebli tapicerowanych</p>
</td>
</tr>
<tr>
<td align="center" style="font-size:1px; line-height:1px" height="18" width="640"> </td>
</tr>
<tr>
<td width="640" align="center">
<table class="devicewidthinner" align="center" bgcolor="#ffffff" border="0" cellpadding="0" cellspacing="0" width="600">
<tbody>
<tr>
<td style="font-family:Arial,Helvetica,sans-serif;font-size:18px; color:#b2b2b2;line-height: 18px;text-align: center;">
<div class="strike">
<span style="font-weight: bold; color: #606060;">Lorem ipsum <p style="font-weight: 400;">Lorem ipsum</p></span>
</div>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td height="20" width="640"></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<table style="mso-table-lspace:0;mso-table-rspace:0;border-collapse: collapse; border: 1px solid #dddddd;" class="tablereset" align="center" cellpadding="10" cellspacing="0" width="100%">
<tbody>
<tr>
<td width="640">
<table class="devicewidth" align="center" cellspacing="0" cellpadding="0" border="0" width="640" style="margin:0 auto;mso-table-lspace:0;mso-table-rspace:0;border-collapse: collapse;">
<tbody>
<tr>
<td width="640" align="center">
<table class="devicewidthinner" align="left" border="0" cellpadding="0" cellspacing="0" width="640">
<tbody>
<tr>
<td align="left" width="200">
<table style="mso-table-lspace:0;mso-table-rspace:0;border-collapse: collapse;" class="devicewidthinner" align="center" border="0" cellpadding="0" cellspacing="0" width="270">
<tbody>
<tr>
<td width="640" align="left" class="robotofont" style="font-family: Arial, Helvetica, sans-serif,Roboto;font-weight: 300; color: #606060;">Lorem ipsum</td>
</tr>
<tr>
<td width="640" align="left" style="font-family: Open Sans, Helvetica, sans-serif;font-weight: 700; font-size: 22px;line-height:24px; color: #606060; font-weight: bold; text-transform: uppercase;">Lorem ipsum </td>
</tr>
<tr>
<td width="640" height="25"> </td>
</tr>
<tr>
<td align="left">
<table style="mso-table-lspace:0;mso-table-rspace:0;" align="left" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td width="640" align="left" class="robotofont" style="font-family: Arial, Helvetica, sans-serif,Roboto;font-weight: 300; color: #606060;">Lorem ipsumLorem ipsumLorem ipsumLorem ipsumLorem ipsumLorem ipsumLorem ipsumLorem ipsumLorem ipsumLorem ipsumLorem
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
<td align="left" width="1" valign="middle">
<span style="width:2px; height:80px; background:#ececec; margin-top: 70px; display:block;"></span>
</td>
<td width="317" align="center">
<table class="devicewidthinner" align="left" border="0" cellpadding="0" cellspacing="0" width="317">
<tbody>
<tr>
<td align="left" width="640">
<table style="mso-table-lspace:0;mso-table-rspace:0;border-collapse: collapse; margin-top: 20px;" class="devicewidthinner" align="center" border="0" cellpadding="0" cellspacing="0" width="270">
<tbody>
<tr>
<td width="640" align="left" class="robotofont" style="font-family: Open Sans, Helvetica, sans-serif,Roboto;font-weight: 300; color: #606060;">Lorem ipsum
<span style="color: red;text-decoration: line-through;">
<span style="color: #606060; font-weight: bold; font-size: 20px;">
<span style="margin-left:5px;">$</span></span>
</span>
</td>
</tr>
<tr>
<td align="center" height="5" width="640"></td>
</tr>
<tr>
<td width="640" align="left" style="font-family: Open Sans, Helvetica, sans-serif;font-weight: 300; font-size: 14px;line-height:24px;"><span style="font-weight: bold; color: #606060;">Lorem ipsum </span><span style="color: #e4001b; font-weight: bold; font-size: 18px; margin-left: 30px;">$</span></td>
</tr>
<tr>
<td align="left">
<table style="mso-table-lspace:0;mso-table-rspace:0;" align="left" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td width="640" align="left" class="robotofont" style="font-family: Arial, Helvetica, sans-serif,Roboto;font-weight: 300;">
<p style="-webkit-margin-before: 0;-webkit-margin-after: 0; color: #606060; margin-top: 15px; font-weight: 400;">Wymiary:</p>
<p style="-webkit-margin-before: 0;-webkit-margin-after: 0; color: #606060; margin-top: 10px;"><span style="font-weight: bold;">Długość: </span><span style="margin-left: 15px;">188 cm</span></p>
<p style="-webkit-margin-before: 0;-webkit-margin-after: 0; color: #606060; margin-top: 2px;"><span style="font-weight: bold;">Szerokość: </span>&nbsp 85 cm</p>
<p style="-webkit-margin-before: 0;-webkit-margin-after: 0; color: #606060; margin-top: 2px"><span style="font-weight: bold;">Wysokość: </span>&nbsp 90 cm</p>
</td>
</tr>
</tbody>
</table>
Try to add this :
table td {
border-collapse: collapse;
vertical-align: bottom;
}
I think the elements on the left are on the same level as the ones on the right

HTML Email Template Content Between Header/Footer Issue

I understand this is probably something really simple but I don't know anyone that can help me with my issue except the awesome Stack Overflow community. I have not worked with HTML/CSS to this extent for a while.
I am trying to create a new, better looking email template for my business. First I was having an issue with WHMCS where the global CSS styling wouldn't work. So to get around that I have been using inline CSS in the footer and header sections (see below):
The issue I am now having is the header and footer seem to be separated, and in the middle, where I want the email content, there is nothing but white space, even if I type text in there. I would like the middle content section to follow the styling above and below so it looks seamless and so that text can be typed in there.
Here is the code for both the header and footer (big space between two):
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={$charset}" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<style type="text/css">
</style>
</head>
<body>
<table data-module="header" class="email_table currentTable" width="100%" border="0" cellspacing="0" cellpadding="0" style="box-sizing: border-box;border-spacing: 0;mso-table-lspace: 0;mso-table-rspace: 0;width: 100%;min-width: 100%!important;">
<tr>
<td class="email_body email_start" data-bgcolor="Body" style="box-sizing: border-box;vertical-align: top;line-height: 100%;text-align: center;padding-left: 16px;padding-right: 16px;padding-top: 32px;background-color: #dde5ee;font-size: 0!important;">
<!--[if (mso)|(IE)]><table width="800" border="0" cellspacing="0" cellpadding="0" align="center" style="vertical-align:top;width:800px;Margin:0 auto;"><tr><td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"><![endif]-->
<div class="email_container" style="box-sizing: border-box;font-size: 0;display: inline-block;width: 100%;vertical-align: top;margin: 0 auto;text-align: center;line-height: inherit;max-width: 800px!important;">
<table class="content_section" width="100%" border="0" cellspacing="0" cellpadding="0" style="box-sizing: border-box;border-spacing: 0;mso-table-lspace: 0;mso-table-rspace: 0;width: 100%;min-width: 100%!important;">
<tr>
<td class="content_cell header_c brt pt pb" data-bgcolor="Content" data-border-top-color="Accent" style="box-sizing: border-box;vertical-align: top;font-size: 0;display: inline-block;width: 100%;text-align: center;background-color: #ffffff;border-top: 4px solid #2376dc;border-radius: 4px 4px 0 0;padding-top: 16px;padding-bottom: 16px;line-height: inherit;">
<!-- col-6 -->
<div class="email_row" style="box-sizing: border-box;font-size: 0;display: block;width: 100%;vertical-align: top;margin: 0 auto;text-align: center;clear: both;line-height: inherit;max-width: 600px!important;">
<!--[if (mso)|(IE)]><table width="600" border="0" cellspacing="0" cellpadding="0" align="center" style="vertical-align:top;width:600px;Margin:0 auto;"><tr><td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"><![endif]-->
<div class="col_6" style="box-sizing: border-box;font-size: 0;display: inline-block;width: 100%;vertical-align: top;max-width: 600px;line-height: inherit;">
<table class="column" width="100%" border="0" cellspacing="0" cellpadding="0" style="box-sizing: border-box;border-spacing: 0;mso-table-lspace: 0;mso-table-rspace: 0;width: 100%;min-width: 100%!important;">
<tr>
<td class="column_cell px pt_xs pb_0 logo_c tc" data-color="Content" data-link-color="Accent" style="box-sizing: border-box;vertical-align: top;width: 100%;padding-top: 8px;padding-bottom: 0;font-family: Helvetica,Arial,sans-serif;font-size: 16px;line-height: 100%;color: #616161;mso-line-height-rule: exactly;text-align: center;padding-left: 16px;padding-right: 16px;min-width: 100%!important;">
<img src="https://hypeservers.com/wp-content/uploads/2016/10/Logomakr_0tDvse-2.png" width="110" height="24" alt="Hype Servers" style="max-width: 168px;outline: none;border: 0;text-decoration: none;-ms-interpolation-mode: bicubic;clear: both;line-height: 100%;height: auto!important;" />
</td>
</tr>
</table>
</div>
</div>
</td>
</tr>
<tr>
<td valign="top" class="bodyContent" style="box-sizing: border-box;vertical-align: top;font-size: 0;display: inline-block;width: 100%;text-align: center;background-color: #ffffff;line-height: inherit;">
<p>'Hello'</p>
</td>
<!--[if (mso)|(IE)]></td></tr></table><![endif]-->
<!-- </table> -->
<!-- </div> -->
<!--[if (mso)|(IE)]></td></tr></table><![endif]-->
<!-- </td> -->
<!-- </tr> -->
<!-- </table> -->
</table>
</div>
</td>
</tr>
</table>
<table data-module="footer_center" class="email_table" width="100%" border="0" cellspacing="0" cellpadding="0" style="box-sizing: border-box; border-spacing: 0; mso-table-lspace: 0; mso-table-rspace: 0; width: 100%; min-width: 100% !important;"><tr><td class="email_body email_end" data-bgcolor="Body" style="box-sizing: border-box; vertical-align: top; line-height: 100%; text-align: center; padding-left: 16px; padding-right: 16px; padding-bottom: 32px; font-size: 0 !important; background: #dde5ee;" align="center" bgcolor="#dde5ee" valign="top">
<!--[if (mso)|(IE)]>
<table width="800" border="0" cellspacing="0" cellpadding="0" align="center" style="vertical-align:top;width:800px;Margin:0 auto;">
<tbody>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
<div class="email_container" style="box-sizing: border-box; font-size: 0; display: inline-block; width: 100%; vertical-align: top; text-align: center; line-height: inherit; max-width: 800px !important; margin: 0 auto;" align="center">
<table class="content_section" width="100%" border="0" cellspacing="0" cellpadding="0" style="box-sizing: border-box; border-spacing: 0; mso-table-lspace: 0; mso-table-rspace: 0; width: 100%; min-width: 100% !important;"><tr><td class="content_cell footer_c py bt brb" data-bgcolor="Accent" data-border-top-color="Default" style="box-sizing: border-box; vertical-align: top; font-size: 0; display: inline-block; width: 100%; text-align: center; border-radius: 0 0 4px 4px; padding-top: 16px; padding-bottom: 16px; border-top-width: 1px; border-top-style: solid; border-top-color: #d7dbe0; line-height: inherit; background: #ffffff;" align="center" bgcolor="#ffffff" valign="top">
<!-- col-6 -->
<div class="email_row" style="box-sizing: border-box; font-size: 0; display: block; width: 100%; vertical-align: top; text-align: center; clear: both; line-height: inherit; max-width: 600px !important; margin: 0 auto;" align="center">
<!--[if (mso)|(IE)]>
<table width="600" border="0" cellspacing="0" cellpadding="0" align="center" style="vertical-align:top;width:600px;Margin:0 auto;">
<tbody>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
<div class="col_6" style="box-sizing: border-box; font-size: 0; display: inline-block; width: 100%; vertical-align: top; max-width: 600px; line-height: inherit;">
<table class="column" width="100%" border="0" cellspacing="0" cellpadding="0" style="box-sizing: border-box; border-spacing: 0; mso-table-lspace: 0; mso-table-rspace: 0; width: 100%; min-width: 100% !important;"><tr><td class="column_cell tc pb_0" data-color="Footer" data-link-color="Footer Link" style="box-sizing: border-box; vertical-align: top; width: 100%; padding-top: 16px; padding-bottom: 0; font-family: 'Open Sans',sans-serif !important; font-size: 16px; line-height: 23px; color: #999999; mso-line-height-rule: exactly; text-align: center; min-width: 100% !important;" align="center" valign="top">
<p class="fsocial" data-color="Footer" style="font-family: 'Open Sans',sans-serif !important; font-size: 16px; line-height: 100%; color: #999999; mso-line-height-rule: exactly; display: block; margin-top: 0; margin-bottom: 16px;">
<a href="#" style="text-decoration: underline; line-height: inherit; color: #999999; display: inline-block;">
</a>
   <a href="#" style="text-decoration: underline; line-height: inherit; color: #999999; display: inline-block;">
<img src="http://www.stampready.net/dashboard/editor/user_uploads/zip_uploads/2017/07/16/HZUKBlFvVrCsqQm6I51iRE7A/stampready_template/images/twitter_64_dark.png" width="24" height="24" alt="" style="max-width: 24px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic; clear: both; line-height: 100%; height: auto !important; border: 0;" /></a>
   <a href="#" style="text-decoration: underline; line-height: inherit; color: #999999; display: inline-block;">
</a>
</p>
<p data-color="Footer" style="font-family: 'Open Sans',sans-serif !important; font-size: 16px; line-height: 23px; color: #999999; mso-line-height-rule: exactly; display: block; margin-top: 0; margin-bottom: 16px;">
©2017 Hype Servers<br />
3000 Fake Address Way, Fake Town 736278. </p>
<p data-color="Footer" style="font-family: 'Open Sans',sans-serif !important; font-size: 16px; line-height: 23px; color: #999999; mso-line-height-rule: exactly; display: block; margin-top: 0; margin-bottom: 16px;">
You are subscribed to Hype Servers Mailing List. <a href="#" data-color="Footer Link" style="text-decoration: underline; line-height: inherit; color: #999999; display: inline-block;">
<span data-color="Footer Link" style="text-decoration: underline; line-height: inherit; color: #999999;">
Unsubscribe</span>
</a>
</p>
</td>
</tr></table></div>
<!--[if (mso)|(IE)]>
</td>
</tr>
</tbody>
</table>
<![endif]-->
</div>
</td>
</tr></table></div>
<!--[if (mso)|(IE)]>
</td>
</tr>
</tbody>
</table>
<![endif]-->
</td>
</tr></table></body>
</html>
It seems to me that the body copy text is not visible to you because it's been styled with font-size:0px;
You can't rely on CSS to work in emails like it would on the web so make sure you do all your styling inline (as you have done).
I'm not familiar with WHMCS so forgive me if I've got the wrong end of the stick here.

Padding Bottom not working in IE 8 and IE 9

<meta name="viewport" content="width=device-width" />
<style>
body {
background-color: #e4e4e4;
font-family: 'PT Sans Narrow',Arial,sans-serif;
}
table {
border-collapse: collapse;
mso-table-lspace: 0pt;
mso-table-rspace: 0pt;
}
.ExternalClass * {
line-height: 100%;
}
.bgimg {
background-image: url('http://worldtravelhub.com.au/newsletter/201401/images/wth_map.jpg');
width: 100%;
background-size: contain;
background-repeat: no-repeat;
height: 0;
padding-bottom: 77%;
background-repeat: no-repeat;
}
.checkout-price {
position: absolute;
top: 590px;
margin-left: 25px;
width: 120px;
height: 120px;
font: 28px/120px Helvetica, Arial, sans-serif;
color: white;
text-align: center;
text-shadow: 0 -1px 1px rgba(black, .3);
text-indent: -1px;
letter-spacing: -1px;
background: #e54930;
border: 1px solid;
border-color: #b33323 #ab3123 #982b1f;
border-radius: 60px;
#include user-select(none);
#include linear-gradient(top, #f75a3b, #d63b29);
#include box-shadow(inset 0 1px 1px rgba(white, .3), 0 1px 2px rgba(black, .2));
}
.checkout-price:before {
content: '';
position: absolute;
top: 3px;
bottom: 3px;
left: 3px;
right: 3px;
border: 2px solid #f5f8fb;
border-radius: 60px;
#include box-shadow(inset 0 1px 1px rgba(white, .2), inset 0 -1px 1px rgba(black, .25), 0 -1px 1px rgba(black, .25));
}
.cheapest {
margin-left: 80px;
font-size: 14px;
padding-top: 22px;
font-family: 'PT Sans Narrow',Arial,sans-serif;
}
.bold {
font-weight: bold;
}
.indsub {
color: #e62529;
font-size: 30px;
font-weight: bold;
}
#media only screen and (max-width: 480px) {
div, p, a, li, td {
-webkit-text-size-adjust: none !important;
}
table[class="table"], td[class="cell"] {
width: 300px !important;
}
img {
display: block !important;
max-width: 100% !important;
}
[class].hide {
display: none !important;
}
[class].w100 {
width: 100% !important;
text-align: left !important;
}
.cheapest {
margin-left: 5px;
font-size: 10px;
padding-top: 10px;
font-family: 'PT Sans Narrow',Arial,sans-serif;
max-width: 100% !important;
}
.bold {
font-weight: bold;
}
.indsub {
color: #e62529;
font-size: 22px;
font-weight: bold;
}
.checkout-price {
margin-left: 0px;
top: 260px;
}
/*.bgimg {
background-image: url('images/wth_map.jpg');
width: 100%;
background-size: contain;
background-repeat: no-repeat;
height: 0;
padding-bottom: 77%;
background-repeat: no-repeat;
}*/
}
#media only screen and (max-width: 767px) {
div, p, a, li, td {
/*-webkit-text-size-adjust: none !important;*/
}
table[class="table"], td[class="cell"] {
width: 300px !important;
}
img {
display: block !important;
max-width: 100% !important;
}
[class].hide {
display: none !important;
}
[class].w100 {
width: 100% !important;
text-align: left !important;
}
.cheapest {
margin-left: 5px;
font-size: 10px;
padding-top: 10px;
font-family: 'PT Sans Narrow',Arial,sans-serif;
max-width: 100% !important;
}
.bold {
font-weight: bold;
}
.indsub {
color: #e62529;
font-size: 22px;
font-weight: bold;
}
.checkout-price {
margin-left: 0px;
top: 260px;
}
}
</style>
<!--[if lt IE 9]><script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
<div style="background-color: #e4e4e4">
<table width="600" border="0" align="center" cellpadding="0" cellspacing="0" class="table">
<tr>
<td class="cell">
<table>
<tr>
<td>
<span style="font-size: 10px; color: #666666">If this email doesn't display properly you can view it in your web browser Click Here</span>
</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#ffffff">
<tr>
<td>
<table border="0" align="center" cellpadding="10" cellspacing="0" class="w100">
<tr>
<td>
<img src="http://worldtravelhub.com.au/newsletter/201401/images/high_quality_logo_wth.png" width="500" height="108" border="0" style="display: block"></td>
</tr>
</table>
<table border="0" align="right" cellpadding="10" cellspacing="0" class="w100">
<tr>
<td align="right" class="w100">
<!--<font face="Arial, Helvetica, sans-serif" color="#333333" style="font-size:22px"><strong>WorldTravelHub</strong></font><br>
<font face="Arial, Helvetica, sans-serif" color="#666666" style="font-size:18px">Newsletter
</font>-->
</td>
</tr>
</table>
</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF">
<tr>
<td>
<table width="290" border="0" align="left" cellpadding="10" cellspacing="0" class="w100">
<!--<tr>
<td class="w100"><div class="left_align" face="Arial, Helvetica, sans-serif" color="#666666" style="font-size:12px"><font face="Arial, Helvetica, sans-serif" color="#333333" style="font-size:11px"><strong>We'll get you the CHEAPEST flights to the</strong></font>
<font><span style="color:#ff5313;font-size:29px;">Indian Subcontinent </span></font>
</div>
</td>
</tr>-->
</table>
<table width="290" border="0" align="right" cellpadding="10" cellspacing="0" class="w100">
<!-- <tr>
<td class="w100">
<img class="stamp" src="images/stamp.png" alt="CHEAPEST GAURANTEE" />
</td>
</tr>-->
</table>
</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<!--<img src="images/600.png" border="0" style="display:block">-->
<div class="bgimg">
<p class="cheapest">
<span class="bold">We'll get you the CHEAPEST flights to the</span><br />
<span class="indsub">Indian Subcontinent</span>
</p>
</div>
</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="white">
<tr>
<td>
<table width="100%" border="0" align="left" cellpadding="10" cellspacing="0" class="w100">
<tr>
<td class="w100">
<span class="checkout-price">
<span style="font-size: 10px;">FROM</span> $850*
<!--<sup style="font-size:8px;margin-top:5px;">From</sup><sub>$850*</sub>--></td>
</tr>
</table>
<table width="290" border="0" align="right" cellpadding="10" cellspacing="0" class="w100">
<tr>
<td class="w100">
<!--<font face="Arial, Helvetica, sans-serif" color="#666666" style="font-size:12px"><font face="Arial, Helvetica, sans-serif" color="#333333" style="font-size:14px"><strong>Lorem ipsum dolor sit amet</strong></font>-->
<div style="text-align: center; margin-right: 30px;">
Toll Free: 1800 984 045<br />
info#worldtravelhub.com.au<br />
www.worldtravelhub.com.au
</div>
</td>
</tr>
</table>
</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="white">
<tr>
<td>
<table width="100%" border="0" align="center" cellpadding="10" cellspacing="0" class="w100">
<tr>
<td class="w100">
<p style="text-align: center;">
<span style="font-size: 22px; color: #e62529; letter-spacing: 3px; font-weight: bold;">Book online <span style="color: #000;">24/7 </span>at worldtravelhub.com.au</span><br>
<span style="font-size: 8px;">*A Verifiable written quote from another Australian registered travel businesses must be aproved and fare quoted must be generally avaliable to the public in the market and must be for the same date,seat class,fare category and airline and given to us before we make a booking for the customer.The quote must be for booked fares originating in Australia to Indian subcontinent.Lics No<span style="font-weight: bold;"> 2TA6049</span></span>
</p>
</td>
</tr>
</table>
</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#888888">
<tr>
<td>
<table width="290" border="0" align="left" cellpadding="10" cellspacing="0" class="w100">
<tr>
<td class="w100"><font face="Arial, Helvetica, sans-serif" color="#ffffff" style="font-size: 12px"><strong>WorldTravelHub</strong><br>
Suite 4, 2 Kendall St,<br>
Harris Park NSW 2150</font></td>
</tr>
</table>
<table width="290" border="0" align="right" cellpadding="10" cellspacing="0" class="w100">
<tr>
<td align="right" class="w100"><font face="Arial, Helvetica, sans-serif" color="#ffffff" style="font-size: 12px"><strong>Phone:</strong> +61 2 8005 2797<br>
<strong>Fax:</strong>+61 2 8005 4237<br>
<strong>Email:</strong> info#worldtravelhub.com.au</font></td>
</tr>
</table>
</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="10">
<tr>
<td>
<span style="font-size: 10px; color: #666666">If this email doesn't display properly you can view it in your web browser Click Here</span>
<br>
<br />
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
My html page works fine in all version of Chrome Browsers and IE 10,But Doesn't seem to work properly in IE 8 and IE 9,The problem is with padding-bottom css in class .bgimg.The Bottom Part of the page goes right below,when I add px instead of % it moves upwards and works but the text below ie contact details in red are no longer visible..Please help
Thanks for help in advanced
you can view it on this link..
http://worldtravelhub.com.au/newsletter/201401/201401.html
You can try to apply display: block; to any element and after give it padding-bottom
Remove padding-bottom and apply the height for the div bgimg. Also keep the background-size:cover for that.
.bgimg {
background-image: url('http://worldtravelhub.com.au/newsletter/201401/images/wth_map.jpg');
width: 100%;
background-size:cover;
background-repeat: no-repeat;
height:460px;
background-repeat: no-repeat;
}
<element style = "padding-bottom: 77%;"> </element>
been experience on css trouble like that , and some browser element needs to have their style in HTML, so try something like on the above rather than on css file.