This question already has answers here:
How to remove the underline for anchors(links)?
(15 answers)
Closed 2 years ago.
I am trying to create an email signature that has a website link. However, the link appear as underlined. I tried many options to remove the underline from the website link but failed. Any Idea to solve this?
<html>
<head>
<title>Email Signature</title>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
</head>
<body>
<table
style="
width: 424px;
font-size: 10pt;
font-family: Arial, sans-serif;
line-height: normal;
"
cellpadding="0"
cellspacing="0"
border="0"
>
<tbody>
<tr>
<td
style="padding-right: 15px; border-right: 1px solid #317a00;"
width="150"
style="width: 150px; vertical-align: top;"
valign="top"
align="center"
>
<a href="{logoURL}" target="_blank"
><img
width="81"
border="0"
alt="Logo"
style="border: 0; max-width: 150px;"
src="logo.png"
/></a>
</td>
<td
style="padding-left: 15px; vertical-align: top; font-size: 9pt;"
valign="top"
>
<strong
style="
font-size: 10pt;
font-family: Arial, sans-serif;
color: #317a00;
"
>{firstName} {lastName}</strong
><br />
<span
style="
font-size: 10pt;
font-family: Arial, sans-serif;
color: #000000;
padding-bottom: 5px;
"
>{title}</span
><br />
<br />
<span style="font-family: Arial, sans-serif; color: #000000;"
><span style="font-weight: bold; color: #317a00;">T: </span
>{phone}<br
/></span>
<span style="font-family: Arial, sans-serif; color: #000000;"
><span style="font-weight: bold; color: #317a00;">M: </span
>{mobile}<br
/></span>
<span style="font-family: Arial, sans-serif; color: #000000;"
><span style="font-weight: bold; color: #317a00;">E: </span
>{email}<br
/></span>
<br /><span
ng-if="showField('company')"
style="
font-size: 9pt;
font-family: Arial, sans-serif;
color: #000000;
"
>{company}</span
>
<br /><br />
</td>
</tr>
<tr>
<td align="center" style="border-right: 1px solid #317a00;">
<a href="{instagramURL}" target="_blank"
><img
alt="Instagram icon"
border="0"
width="18"
height="18"
style="border: 0; height: 18px; width: 18px;"
src="it.png" /></a
>
<a href="{pinterestURL}" target="_blank"
><img
alt="Pinterest icon"
border="0"
width="18"
height="18"
style="border: 0; height: 18px; width: 18px;"
src="pt.png"
/></a>
</td>
<td style="padding-left: 15px;">
<a href="http://{website}" target="_blank"
><span
style="
font-size: 9pt;
font-family: Arial, sans-serif;
color: #317a00;
font-weight: bold;
"
>{website}</span
></a
>
</td>
</tr>
<tr>
<td width="424" style="width: 424px; padding-top: 15px;" colspan="2">
<a href="{bannerURL}" target="_blank" rel="noopener"
><img
border="0"
src="banner.png"
alt="Banner"
style="max-width: 424px; height: auto; border: 0;"
/></a>
</td>
</tr>
</tbody>
</table>
</body>
</html>
This should do it:
<span style="font-size:9pt; font-family: Arial, sans-serif;; color:#317a00;; font-weight:bold">{website}</span>
more info on styling links in css can be found here: https://www.w3schools.com/css/css_link.asp
Use Text-decoration: none; you can use it in css and inline too.
/*a {text-decoration: none;}*/
<html><head><title>Email Signature</title>
<meta content="text/html; charset=utf-8"http-equiv="Content-Type">
</head>
<body>
<table style="width: 424px; font-size: 10pt; font-family: Arial, sans-serif;; line-height:normal;" cellpadding="0" cellspacing="0" border="0">
<tbody>
<tr>
<td style="padding-right:15px; border-right:1px solid #317a00;" width="150" style="width:150px; vertical-align: top;" valign="top" align="center">
<img width="81" border="0" alt="Logo" style="border:0;max-width:150px" src="logo.png">
</td>
<td style="padding-left:15px; vertical-align: top; font-size:9pt" valign="top">
<strong style="font-size:10pt; font-family: Arial, sans-serif;; color: #317a00;;">{firstName} {lastName}</strong><br>
<span style="font-size:10pt; font-family: Arial, sans-serif;; color: #000000;; padding-bottom:5px;">{title}</span><br>
<br>
<span style="font-family: Arial, sans-serif;; color:#000000;;"><span style="font-weight:bold; color:#317a00;; ">T: </span>{phone}<br></span>
<span style="font-family: Arial, sans-serif;; color:#000000;; "><span style="font-weight:bold; color:#317a00;; ">M: </span>{mobile}<br></span>
<span style="font-family: Arial, sans-serif;; color:#000000;; "><span style="font-weight:bold; color:#317a00;; ">E: </span>{email}<br></span>
<br><span ng-if="showField('company')" style="font-size: 9pt; font-family: Arial, sans-serif;; color: #000000;;">{company}</span>
<br><br>
</td>
</tr>
<tr>
<td align="center" style="border-right:1px solid #317a00;">
<img alt="Instagram icon" border="0" width="18" height="18" style="border:0; height:18px; width:18px" src="it.png">
<img alt="Pinterest icon" border="0" width="18" height="18" style="border:0; height:18px; width:18px" src="pt.png">
</td>
<td style="padding-left:15px;">
<span style="font-size:9pt; font-family: Arial, sans-serif;; color:#317a00;; font-weight:bold">{website}</span>
</td>
</tr>
<tr>
<td width="424" style="width:424px;padding-top:15px;" colspan="2">
<img border="0" src="banner.png" alt="Banner" style="max-width:424px; height:auto; border:0;">
</td>
</tr>
</tbody>
</table>
</body>
</html>
Have you tried this? : text-decoration:none;
Add a style attribute to the anchor tag and add the text-decoration to none. Example:
style="text-decoration: none"
try this CSS style.
a,a:hover{text-decoration: none;}
Add inline CSS to the anchor tag
style="text-decoration: none;
Related
I've not been able to achieve it because media-query is not supported on Gmail IMAP which my client uses.
How do I achieve the column layout on the top to be like the stacking elements below it without any media query?
What is the workaround of it?
I can't find any workaround
The column layout should be shown when in desktop mode.
<table role="presentation" border="0" cellpadding="0" cellspacing="0" width="100%" align="center">
<tbody>
<tr>
<td style="padding: 10px 0;">
<table align="center" border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse;">
<tr>
<td colspan="2" style="padding: 10px 10px 0;">
<table align="center" border="0" cellpadding="0" cellspacing="0" width="100%"
style="border-collapse: collapse;background: #FFFFFF;border-radius: 10px;">
<tr>
<td height="45" style="padding: 65px 45px;">
<div class="hide-for-small">
<table cellpadding="0" cellspacing="0" width="100%" style="border-collapse: collapse; margin-top: 40px">
<tr style="height: 60px">
<td style="vertical-align:top; width: 54px;">
<img src="https://w7.pngwing.com/pngs/178/595/png-transparent-user-profile-computer-icons-login-user-avatars.png" width="25px" height="auto" style="width: 25px !important" />
</td>
<td style="vertical-align:top; width: 45%;">
<span style="display: block; font-size: 11px; color: #AFC2CE; font-family: 'Open Sans', Arial, sans-serif; font-weight: 600; letter-spacing: 0.77px; text-transform: uppercase; margin-bottom: 7px;">
text
</span>
<span style="display: block; font-size:14px; color: #003A60; font-family: 'Open Sans', Arial, sans-serif; word-break: break-all;padding-right: 50px; padding-bottom: 30px;">
text
</span>
</td>
<td style="vertical-align: top; width: 54px;">
<img src="https://w7.pngwing.com/pngs/178/595/png-transparent-user-profile-computer-icons-login-user-avatars.png" width="25px" height="auto" style="width: 25px !important" />
</td>
<td style="vertical-align:top;">
<div style="display: block; font-size: 11px; color: #AFC2CE; font-family: 'Open Sans', Arial, sans-serif; font-weight: 600; letter-spacing: 0.77px; text-transform: uppercase; margin-bottom: 7px;">
text
</div>
<span style="display: block; font-size:14px; color: #003A60; font-family: 'Open Sans', Arial, sans-serif;">
text
</span>
</td>
</tr>
<tr>
<td style="vertical-align: top; width: 54px;">
<img src="https://w7.pngwing.com/pngs/178/595/png-transparent-user-profile-computer-icons-login-user-avatars.png" width="25px" height="auto" style="width: 25px !important" />
</td>
<td style="vertical-align:top; width: 45%;">
<span style="display: block; font-size: 11px; color: #AFC2CE; font-family: 'Open Sans', Arial, sans-serif; font-weight: 600; letter-spacing: 0.77px; text-transform: uppercase; margin-bottom: 7px;">
text
</span>
<span style="display: block; font-size:14px; color: #003A60; font-family: 'Open Sans', Arial, sans-serif; word-break: break-all;padding-right: 50px; padding-bottom: 30px;">
text
</span>
</td>
<td style="vertical-align: top; width: 54px;">
<img src="https://w7.pngwing.com/pngs/178/595/png-transparent-user-profile-computer-icons-login-user-avatars.png" width="25px" height="auto" style="width: 25px !important" />
</td>
<td style="vertical-align:top;">
<span style="display: block; font-size: 11px; color: #AFC2CE; font-family: 'Open Sans', Arial, sans-serif; font-weight: 600; letter-spacing: 0.77px; text-transform: uppercase; margin-bottom: 7px;">
text
</span>
<span style="display: block; font-size:14px; color: #003A60; font-family: 'Open Sans', Arial, sans-serif;">
text
</span>
</td>
</tr>
</table>
</div>
<div class="hide-for-large">
<table cellpadding="0" cellspacing="0" width="100%" style="border-collapse: collapse; margin-top: 40px">
<tr>
<td>
<img src="https://w7.pngwing.com/pngs/178/595/png-transparent-user-profile-computer-icons-login-user-avatars.png" width="25px" height="auto" style="vertical-align: middle; width: 25px !important" />
<span style="font-size: 11px; color: #AFC2CE; font-family: 'Open Sans', Arial, sans-serif; font-weight: 600; letter-spacing: 0.77px; text-transform: uppercase; margin-left: 10px">
stacking elements start
</span>
</td>
</tr>
<tr style="height: 5px;"></tr>
<tr>
<td>
<span style="font-size:14px; color: #003A60; font-family: 'Open Sans', Arial, sans-serif; word-break: break-all;padding-right: 50px; padding-bottom: 30px;">
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been
</span>
</td>
</tr>
<tr style="height: 30px;"></tr>
<tr>
<td>
<img src="https://w7.pngwing.com/pngs/178/595/png-transparent-user-profile-computer-icons-login-user-avatars.png" width="25px" height="auto" style="vertical-align: middle; width: 25px !important" />
<span style="font-size: 11px; color: #AFC2CE; font-family: 'Open Sans', Arial, sans-serif; font-weight: 600; letter-spacing: 0.77px; text-transform: uppercase; margin-left: 10px">
text
</span>
</td>
</tr>
<tr style="height: 5px;"></tr>
<tr>
<td>
<span style="font-size:14px; color: #003A60; font-family: 'Open Sans', Arial, sans-serif; word-break: break-all;padding-right: 50px; padding-bottom: 30px;">
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been
</span>
</td>
</tr>
<tr style="height: 30px;"></tr>
<tr>
<td>
<img src="https://w7.pngwing.com/pngs/178/595/png-transparent-user-profile-computer-icons-login-user-avatars.png" width="25px" height="auto" style="vertical-align: middle; width: 25px !important" />
<span style="font-size: 11px; color: #AFC2CE; font-family: 'Open Sans', Arial, sans-serif; font-weight: 600; letter-spacing: 0.77px; text-transform: uppercase; margin-left: 10px">
text
</span>
</td>
</tr>
<tr style="height: 5px;"></tr>
<tr>
<td>
<span style="font-size:14px; color: #003A60; font-family: 'Open Sans', Arial, sans-serif; word-break: break-all;padding-right: 50px; padding-bottom: 30px;">
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been
</span>
</td>
</tr>
<tr style="height: 30px;"></tr>
<tr>
<td>
<img src="https://w7.pngwing.com/pngs/178/595/png-transparent-user-profile-computer-icons-login-user-avatars.png" width="25px" height="auto" style="vertical-align: middle; width: 25px !important" />
<span style="font-size: 11px; color: #AFC2CE; font-family: 'Open Sans', Arial, sans-serif; font-weight: 600; letter-spacing: 0.77px; text-transform: uppercase; margin-left: 10px">
text
</span>
</td>
</tr>
<tr style="height: 5px;"></tr>
<tr>
<td>
<span style="font-size:14px; color: #003A60; font-family: 'Open Sans', Arial, sans-serif; word-break: break-all;padding-right: 50px; padding-bottom: 30px;">
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been
</span>
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</tbody>
</table>
I am in the process of creating an email signature and came across an issue where for some reason when sending an email from Outlook to Gmail when you look on the iPhone mobile Gmail app the signatures stretch vertically adding a ton of space between elements? I will show an image below for reference.
When viewing the signature on desktop everything looks fine and even when viewing it via Outlook or Apple mail on Mobile it looks fine, only for Gmail on mobile? I was just wondering why this might be and how could I go about fixing it? Thank you! :)
Here is the signature code:
<body><div width="500" height="250" style="max-width: 500px; max-height: 250px; padding: 0; margin: 0; box-sizing: border-box;">
<!--SIGNATURE-->
<table border="0" cellspacing="0" cellpadding="0">
<!-- SECTION 1 PHOTOS DELETE WHEN FINISHED -->
<tbody><tr><td style="text-align: center;">
<table border="0" cellspacing="0" cellpadding="0" width="120" height="250" style="max-width: 120px; max-height: 250px;">
<tbody><tr>
<td>
<img src="https://www.azlendingexperts.com/images/bio_richard.jpg" alt="Headshot" id="imgchangeroutput" height="180" width="120" style="height: 180px; width: 120px; padding-bottom: 0;">
</td>
</tr>
<tr>
<td style="padding: 10px;"></td>
</tr>
<tr>
<td>
<a href="https://az-lending-experts-apply-now.secure-clix.com/" target="_blank">
<img src="https://raw.githubusercontent.com/onthegocode/renovation/main/now.png" alt="Apply Now Button" height="30" style="height: 30px;">
</a>
</td>
</tr>
<tr>
<td>
<a href="https://issuu.com/azbigmedia/docs/raz_2021/432">
<img src="https://raw.githubusercontent.com/onthegocode/renovation/main/ranking.png" alt="1 Mortage Broker Ranking Arizona Logo" width="120" style="width: 120px;">
</a>
</td>
</tr>
</tbody></table>
</td>
<!---------------------------------------------------------------------------------------------------->
<!-- SECTION 2 Information DELETE WHEN FINISHED -->
<!---------------------------------------------------------------------------------------------------->
<td><table border="0" cellspacing="0" cellpadding="0" width="350">
<!-- Main Logo -->
<tbody><tr>
<td>
<a href="https://www.azlendingexperts.com/" target="_blank">
<img src="https://raw.githubusercontent.com/onthegocode/renovation/main/azlelogo.png" alt="AZ Lending Experts LCC logo" height="50">
</a>
</td>
</tr>
<tr>
<td style="padding: 10px;"></td>
</tr>
<tr>
<!-- INFO 1 NAME & NMLS -->
<td>
<div style="font-family: Arial, sans-serif; font-weight: bold; font-size: 18px;" id="text-box">Richard Simon</div>
<div style="font-family: Arial, sans-serif; color: #767171; font-size: 14px; font-weight: bold;"><span id="titleoutput">Owner</span> NMLS #<span id="nmlsoutput">155480</span></div>
</td>
</tr>
<tr>
<td style="padding: 10px;"></td>
</tr>
<!-- INFO 2 Mobile,Office,Email -->
<tr>
<td>
<div id="Mobile">
<span style="font-family: Arial, sans-serif; font-weight: bold; font-size: 14px;">Mobile: </span>480.239.3875
</div>
<div id="Office"><span style="font-family: Arial, sans-serif; font-weight: bold; font-size: 14px;">Office: </span><span style="">480.649.3825</span></div>
<div id="email"><div><span style="font-family: Arial, sans-serif; font-weight: bold; font-size: 14px;">Email: </span><span><a id="emailoutput" href="mailto:rsimon#azlendingexperts.com" style="font-family: Arial, sans-serif;color:#767171; font-size: 14px;">rsimon#azlendingexperts.com</a></span></div>
</div>
</td>
</tr>
<tr>
<td style="height: 20px;"></td>
</tr>
<tr>
<td>
4500 S Lakeshore Dr. Suite 595, Tempe, AZ 85282
</td>
</tr>
<tr>
<td>
www.azlendingexperts.com
</td>
</tr>
<tr>
<td>
<!-- <img src="https://raw.githubusercontent.com/onthegocode/renovation/main/space.png" width="5" height="0" style="width: 5px; height: 0px;" /> -->
<img src="https://raw.githubusercontent.com/onthegocode/renovation/main/Facebook.png" alt="facebook logo" height="30">
<img src="https://raw.githubusercontent.com/onthegocode/renovation/main/Instagram.png" alt="instagram logo" height="30">
<img src="https://raw.githubusercontent.com/onthegocode/renovation/main/Youtube.png" alt="youtube logo" height="30">
<img src="https://raw.githubusercontent.com/onthegocode/renovation/main/Linkedin.png" alt="linkedin logo" height="30">
<img src="https://raw.githubusercontent.com/onthegocode/renovation/main/Twitter.png" alt="twitter logo" height="30">
<img src="https://raw.githubusercontent.com/onthegocode/renovation/main/Google.png" alt="Google Reviews" height="45">
</td>
</tr>
</tbody></table></td>
</tr></tbody></table>
</div>
</body>
I have once again solved my own question. I did some troubleshooting cross-referencing some existing working signatures and found that when using the div element margin was added once Gmail compiled it from outlook office 365. The solution was to use the span element for everything as it is inline it can't allow for margin on Top or Bottom there for solving the issue.
I will leave the code of the working version meant to be installed onto Outlook Office 365 just saying when you look at it on the browser it looks like there are still spacing issues but those are there on purpose so that once installed onto office 365 Outlook it will be perfect specifications as they compile sizing differently then the browser would.
<body>
<div width="500" height="250" style="max-width: 500px; max-height: 250px">
<!--SIGNATURE-->
<table border="0" cellspacing="0" cellpadding="0">
<!-- SECTION 1 PHOTOS DELETE WHEN FINISHED -->
<tbody>
<tr >
<td valign="top"style="max-height: 250px;text-align: center; padding-right: 10px;">
<table
border="0"
cellspacing="0"
cellpadding="0"
width="120"
height="250"
style="max-width: 120px; max-height: 250px"
>
<tbody>
<td cellpadding="0" style="text-align: center; padding-top: 10px; padding-bottom: 6px; width: 120px; height: 160px;">
<img
src="https://www.azlendingexperts.com/images/bio_richard.jpg"
alt="Headshot"
id="imgchangeroutput"
height="160"
style="height: 160px; max-width: 120px"
/>
</td>
</tr>
<tr style="padding-bottom: 6px; text-align: center;">
<td height="26">
<a
href="https://az-lending-experts-apply-now.secure-clix.com/"
target="_blank"
>
<img
src="https://raw.githubusercontent.com/onthegocode/renovation/main/now.png"
alt="Apply Now Button"
height="26"
style="height: 26px;"
/>
</a>
</td>
</tr>
<tr style="padding-bottom: 12px; text-align: center; ">
<td>
<a href="https://issuu.com/azbigmedia/docs/raz_2021/432">
<img
src="https://raw.githubusercontent.com/onthegocode/renovation/main/ranker.png"
alt="1 Mortage Broker Ranking Arizona Logo"
width="110"
style="width: 110px"
/>
</a>
</td>
</tr>
</tbody>
</table>
</td>
<!---------------------------------------------------------------------------------------------------->
<!-- SECTION 2 Information DELETE WHEN FINISHED -->
<!---------------------------------------------------------------------------------------------------->
<td style="max-width: 350px; max-height: 250px">
<table
border="0"
cellspacing="0"
cellpadding="0"
width="350"
height="250"
style="max-width: 350px; max-height: 250px"
>
<tbody>
<tr>
<td
valign="top"
style="
font-size: 9pt;
font-family: Arial, sans-serif;
line-height: 11pt;
"
>
<!-- Main Logo -->
<a href="https://www.azlendingexperts.com/" target="_blank">
<img
src="https://raw.githubusercontent.com/onthegocode/renovation/main/azlelogo.png"
alt="AZ Lending Experts LCC logo"
height="50"
width="270"
style="height: 50px; width: 270px;"
/><br>
</a>
<!-- INFO 1 NAME & NMLS -->
<br /><span
style="
font-family: Arial, sans-serif;
font-weight: bold;
font-size: 18px;
"
id="text-box"
>
Richard Simon </span
><br />
<!-- INFO 2 Mobile,Office,Email -->
<span
style="
font-family: Arial, sans-serif;
color: #767171;
font-size: 14px;
font-weight: bold;
"
>
<span>
<span id="titleoutput">Owner</span> NMLS
#<span id="nmlsoutput">155480</span> </span
></span>
<br /><br>
<span id="Mobile">
<span
style="
font-family: Arial, sans-serif;
font-weight: bold;
font-size: 14px;
"
>Mobile: </span
><a
href="tel:4802393875"
target="_blank"
id="phone1output"
style="
font-family: Arial, sans-serif;
text-decoration: none;
color: #767171;
font-size: 14px;
"
>480.239.3875</a
> </span
><br />
<span id="Office">
<span
style="
font-family: Arial, sans-serif;
font-weight: bold;
font-size: 14px;
"
>Office: </span
><span style=""
><a
href="tel:4806493825"
target="_blank"
id="phone2output"
style="
font-family: Arial, sans-serif;
text-decoration: none;
color: #767171;
font-size: 14px;
"
>480.649.3825</a
></span
>
</span>
<br />
<span id="email">
<span>
<span
style="
font-family: Arial, sans-serif;
font-weight: bold;
font-size: 14px;
"
>Email: </span
><span
><a
id="emailoutput"
href="mailto:rsimon#azlendingexperts.com"
style="
font-family: Arial, sans-serif;
color: #767171;
font-size: 14px;
"
>rsimon#azlendingexperts.com</a
></span
>
</span>
</span>
<br>
<br />
<span>
<span style="">
<a
href="https://www.google.com/maps/place/4500+S+Lakeshore+Dr+%23595,+Tempe,+AZ+85282/data=!4m2!3m1!1s0x872b062196b8962b:0x93f0ee8ff2a4f8e1?sa=X&ved=2ahUKEwi7gLH_15H0AhX2HzQIHTkDDpcQ8gF6BAgSEAE"
target="_blank"
style="
font-family: Arial, sans-serif;
text-decoration: none;
color: #767171;
font-size: 12px; ;
"
>4500 S Lakeshore Dr. Suite 595, Tempe, AZ 85282</a
>
</span>
<br />
<span><a
href="https://www.azlendingexperts.com/"
target="_blank"
style="font-family: Arial, sans-serif; font-size: 14px"
>www.azlendingexperts.com</a
></span>
</span>
<br>
<span>
<a
href="https://www.facebook.com/RichardSimonMortgage"
id="facebookoutput"
target="_blank"
><img
src="https://raw.githubusercontent.com/onthegocode/renovation/main/Facebook.png"
alt="facebook logo"
height="25"
width="25"
style="height: 25px; width: 25px;"
/></a>
<a
href="https://www.instagram.com/richardsimonmortgage/"
id="instagramoutput"
target="_blank"
><img
src="https://raw.githubusercontent.com/onthegocode/renovation/main/Instagram.png"
alt="instagram logo"
height="25"
width="25"
style="height: 25px; width: 25px;"
/></a>
<a
href="https://www.youtube.com/channel/UCfFk2G78rqkCC5j9h_m3PvQ"
id="youtubeoutput"
target="_blank"
><img
src="https://raw.githubusercontent.com/onthegocode/renovation/main/Youtube.png"
alt="youtube logo"
height="25"
width="25"
style="height: 25px; width: 25px;"
/></a>
<a
href="https://www.linkedin.com/in/richardsimonmortgage"
id="linkedinoutput"
target="_blank"
><img
src="https://raw.githubusercontent.com/onthegocode/renovation/main/Linkedin.png"
alt="linkedin logo"
height="25"
width="25"
style="height: 25px; width: 25px;"
/></a>
<a
href="https://twitter.com/azlendingexpert"
id="twitteroutput"
target="_blank"
><img
src="https://raw.githubusercontent.com/onthegocode/renovation/main/Twitter.png"
alt="twitter logo"
height="25"
width="25"
style="height: 25px; width: 25px;"/></a
>
<a href="" target="_blank"
><img
src="https://raw.githubusercontent.com/onthegocode/renovation/main/Google.png"
alt="Google Reviews"
height="35"
width="90"
style="height: 35px; width: 90px;"
/></a>
</span>
</td>
</tr>
<tr>
<td>
<!-- <img src="https://raw.githubusercontent.com/onthegocode/renovation/main/space.png" width="5" height="0" style="width: 5px; height: 0px;" /> -->
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</body>
I hope this helps someone who is having the same issue because I have looked for months and have not found a single answer until I found it myself. Not even StackOverflow has had a similar problem it seems as no one could help or pose a similar question before.
Your answer helped! I did go through my code and added a lot of your extra code bit by bit, and it took me a while to land the snippet that solved my problem. I then cut the non-changing snippets from my code without the issue coming back.
I'll explain my process just in case it can help someone else down the road.
My signature varies from this one in that it is made up of image slices only, with the slices with phone and website being clickable. I have 3 rows across, one image in the first and last row, then my info given in a stack of images in the middle row. Finally, there is one long image on the bottom that spans the entire signature. I had initially got rid of the spacing around all of my other images (I'll include my code before tbody at the bottom), but my stacked, middle-row info still had unwanted spacing above and below the images.
I did not need to add any extra details after or . The snippet that mattered was adding height to the image style. All of my images have the border-collapse and display style to get rid of the spacing, and then adding the height to the images in the middle-row stack resolved the lingering above/below spacing.
<img height="26" width="175" alt="" border="0" style="border-collapse:collapse; display:block!important; height:26px;" src="http://imageurl.jpg">
Here's the html I have before tbody that also impacts spacing:
<meta name="viewport" content="width=device-width" http-equiv="Content-Type" content="text/html; charset=utf-8">
<style media="screen" type="text/css">
td {line-height:0; font-size:0.0em;}
img {display:block; float:left; padding:0; margin:0; align:absbottom; align:texttop;}
</style>
<div dir="auto">
<table id="zs-output-sig" bgcolor="#FFFFFF" width="500" height="146" border="0" cellpadding="0" cellspacing="0">
<tbody>
I made an email signature in HTML. I have written my HTML email signature and see it in Google Chrome. The problem is, as soon as I copied it to Outlook, my HTML Email signature shows some white gap between its row. I tried everything but I can't get rid of it. White space is only showing in Ms Outlook, but not in Google Chrome, Gmail, etc. Can anyone help me? Code below. See screenshot of the email signature
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td valign="bottom" style="padding-left:10px; padding-bottom:15px; line-height:20px">
<table cellpadding="0" cellspacing="0" border="0" >
<tr>
<td valign="top" style="font-family: Helvetica Neue,Helvetica,Arial,sans-serif; line-height:28px; font-size: 25px;color:#000; ">
<strong style="color: #C40F10">Amy Strom</strong>
</td>
</tr>
<tr>
<td valign="top" style="font-family: Helvetica Neue,Helvetica,Arial,sans-serif; line-height:20px; font-size: 16px;color:#393934; ">
Property Manager
</td>
</tr>
<tr>
<td valign="top" style="font-family: Helvetica Neue,Helvetica,Arial,sans-serif; line-height:20px; font-size: 16px;white-space:nowrap;color: #393934;">
P: (08) 9494 2606
</td>
</tr>
<tr>
<td valign="top" style="font-family: Helvetica Neue,Helvetica,Arial,sans-serif; line-height:20px; font-size: 16px;white-space:nowrap;">
E: pm3#semplepg.com.au
</td>
</tr>
<tr>
<td valign="top" style="font-family: Helvetica Neue,Helvetica,Arial,sans-serif; line-height:20px; font-size: 16px;white-space:nowrap;">
1/752 North Lake Road, South Lake WA 6164
</td>
</tr>
<tr>
<td valign="top" style="font-family: Helvetica Neue,Helvetica,Arial,sans-serif; line-height:20px; font-size: 16px;white-space:nowrap;">
www.semplepg.com.au
</td>
</tr>
</table>
</td>
<td valign="top" style="padding: 2px 0 0 20px; text-align:center;" valign="bottom">
<a href="https://www.semplepg.com.au/">
<img src="https://uploads-ssl.webflow.com/5e708a896f96221b4a9d76bc/6177c1e3331ea605e1a4d562_AmyStrom.jpg" alt="Amy's photo from Semple Property" width="250" style="width:250;font-family: sans-serif; color: #ffffff; display: block; border: 0px;">
</a>
</td>
</tr>
<tr>
<td valign="top" style="background-color:#3C3C3B; padding: 5px 20px 5px 10px; font-size:0px; line-height:0; text-align:left; ">
<a href="mailto:semple#semplepg.com.au" style="text-decoration: none; color: #393934; padding-right:5px; display: inline-block;">
<img src="https://uploads-ssl.webflow.com/5e708a896f96221b4a9d76bc/616fd61d5150d56c5f0bb75b_mail.png" alt= "email icon" height="35" style="height: 35px;">
</a>
<a href="https://au.linkedin.com/company/semplepropertygroup" style="text-decoration: none; color: #393934; padding-right:5px; display: inline-block;">
<img src="https://uploads-ssl.webflow.com/5e708a896f96221b4a9d76bc/616fd61ead014f5bfb8600fe_linkedin.png" alt= "Linkedin icon" height="35" style="height: 35px;">
</a>
<a href="https://www.youtube.com/channel/UCgSovBlmEFHzyXx-bW9vEbw" style="text-decoration: none; color: #393934; padding-right:5px; display: inline-block;">
<img src="https://uploads-ssl.webflow.com/5e708a896f96221b4a9d76bc/616fd61d4f490af276680554_youtube.png" alt= "Youtube icon" height="35" style="height: 35px;">
</a>
<a href="https://www.facebook.com/semplepropertygroup" style="text-decoration: none; color: #393934; padding-right:5px; display: inline-block;">
<img src="https://uploads-ssl.webflow.com/5e708a896f96221b4a9d76bc/616fd61d541a51c3b0433623_fb.png" alt= "Facebook icon" height="35" style="height: 35px;">
</a>
<a href="https://www.instagram.com/semple_property_group/" style="text-decoration: none; color: #393934; padding-right:5px; display: inline-block;">
<img src="https://uploads-ssl.webflow.com/5e708a896f96221b4a9d76bc/616fd61e0a63f40c878b6465_instagram.png" alt= "Instagram icon" height="35" style="height: 35px;">
</a>
<a href="https://goo.gl/maps/jWt8je8pFnN8Vi2m8" style="text-decoration: none; color: #393934; padding-right:5px; display: inline-block;">
<img src="https://uploads-ssl.webflow.com/5e708a896f96221b4a9d76bc/616fd61d32add34ce0116798_location.png" alt= "Location icon" height="35" style="height: 35px;">
</a>
</td>
<td valign="top" style="background-color:#3C3C3B; padding: 5px 20px 5px 12px; text-align:right; ">
<a href="https://www.ratemyagent.com.au/real-estate-agency/semple-property-group-ao219/sales/reviews" style="text-decoration: none; color: #393934; padding-right:5px; display: inline-block;">
<img src="https://uploads-ssl.webflow.com/5e708a896f96221b4a9d76bc/61554ae7255348ced3b9293a_rate.png" alt= "Location icon" height="35" style="height: 35px;">
</a>
</td>
</tr></table>
I use Thunderbird to comunicate with my clients. I created a footer with my data. Unfortunately, the mail converted my email address and website link to "links" and blue text. I decided to use CSS with
a.link {
color: inherit !important;
text-decoration: none !important;
font-size: inherit !important;
font-family: inherit !important;
font-weight: inherit !important;
line-height: inherit !important;
}
And works great ! But when the customer responds to my message and sends it to me, I receive a converted email address and a link to the page in blue text or link. The problem is that such messages often go to spam. Another issue is I have to remove some of the footer from the answer, otherwise the customer will receive a "linked" footer as a response. How can I make the customer not convert part of the footer into links when replying to my message? Below I paste a picture. The first is the message that the customer receives, while the second photo shows the message with my footer to which the customer responded.
Picture 1
Picture 2
And here is my HTML code
<html>
<head>
<title>Enail Footer</title>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<!-- ####### Convert blue text and "www" & "#" to normal text #########-->
<style>
a.link {
color: inherit !important;
text-decoration: none !important;
font-size: inherit !important;
font-family: inherit !important;
font-weight: inherit !important;
line-height: inherit !important;
}
</style>
<body>
<table style="width: 400px; font-size: 10pt; font-family: Arial, sans-serif; line-height:normal;" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td width="400" style="width:400px" colspan="2"> <span style="font-size:10pt; font-family: Arial, sans-serif; color: #000000;">Best regards</span> </td>
</tr>
<tr>
<td width="400" style="width:400px; padding-top:5px" colspan="2"> <span style="font-size:18pt; font-family: Arial, sans-serif; color: #000000; padding-bottom:5px;">My name</span> </td>
</tr>
<tr>
<td width="400" style="width:400px;" colspan="2"> </td>
</tr>
<tr>
<td style="padding-right:15px; border-right:2px solid #d7bda6" width="162" valign="top"><span><img width="192" border="0" alt="Logo" style="border:0;max-width:830px; padding-top:15px;" src="http://beiga.pl/wp-content/themes/beiga/img/logo.png"></span> </td>
<td style="padding-left:15px; vertical-align: top;" valign="top">
<img style="vertical-align: middle;" src="http://designstrony.pl/wp-content/uploads/2019/11/telefon-01-1.png" alt="Telefon" width="25" height="25" />
<span style="font-family: Arial, sans-serif; color:#000000;">000 000 000<br></span>
<img style="vertical-align: middle;" src="http://designstrony.pl/wp-content/uploads/2019/11/email-01-1.png" alt="Email" width="25" height="25" />
<span style="font-family: Arial, sans-serif; color:#000000;">beiga<a class="link">#</a>website.com<br></span>
<img style="vertical-align: middle;" src="http://designstrony.pl/wp-content/uploads/2019/11/witryna-01-1.png" alt="Witryna" width="25" height="25" />
<span style="font-family: Arial, sans-serif; color:#000000;"><a class="link">www.website.com</a><br></span>
<span>
<img style="vertical-align: middle;" src="http://designstrony.pl/wp-content/uploads/2019/11/facebook-01.png" alt="Facebook" width="25" height="25" />
<span style="font-family: Arial, sans-serif; color:#000000;">facebook.com/<br></span></span> </td>
</tr>
</tbody>
</table>
</body>
</html>
I have an html newsletter which works in most email carriers but the formatting is messed up in outlook. Here is a snippet of the email as this is the only part that is playing up:
<td align="left" valign="top" bgcolor="#666f87" style="background: #666f87;">
<div style="color: #cccccc;">
<p style="color: #cccccc; font-size: 11px; font-family: arial; font-weight: normal; margin-bottom: 10px; margin-top: 0;"><strong>Social Media:</strong></p>
<p style="color: #cccccc; font-size: 11px; font-family: arial; font-weight: normal; margin-top: 0; margin-bottom: 5px;">
<img style="border:0; display: inline-block; margin-right: 5px; vertical-align: middle;" src="facebook.png" alt="Facebook" /><span style="color: #cccccc; font-size: 11px; font-family: arial; font-weight: normal; margin-top: 0;"><a style="color: #cccccc;" href="#" title="Facebook" >Become a fan on Facebook</a></span>
</p>
<p style="color: #cccccc; font-size: 11px; font-family: arial; font-weight: normal; margin-top: 0; margin-bottom: 5px;">
<img style="border:0; display: inline-block; margin-right: 5px; vertical-align: middle;" src="twitter.png" alt="Twitter" /><span style="color: #cccccc; font-size: 11px; font-family: arial; font-weight: normal; margin-top: 0;"><a style="color: #cccccc;" href="#" title="Twitter" >Follow us on Twitter</a></span>
</p>
<p style="color: #cccccc; font-size: 11px; font-family: arial; font-weight: normal; margin-top: 0; margin-bottom: 5px;">
<img style="border:0; display: inline-block; margin-right: 5px; vertical-align: middle;" src="youtube.png" alt="Youtube" /><span style="color: #cccccc; font-size: 11px; font-family: arial; font-weight: normal; margin-top: 0;"><a style="color: #cccccc;" href="https://www.google.co.uk/" title="Youtube" >Watch us on Youtube</a></span>
</p>
</div>
</td>
The "vertical-align: middle;" style does not work in Outlook 2007/2010 and the text next to the image is appearing below the image. Does anyone know of a work around to get the text to align to the middle of the image? It works fine in other email clients. It is just Outlook that is causing problems.
i never success to use "vertical-align" statement in Outlook.
I made table for hack this but it not really easy
Try this
<td align="left" valign="top" bgcolor="#666f87" style="background: #666f87;">
<table border="0" cellpadding="0" cellspacing="0" align="left" >
<tr>
<td align="left" colspan="3">
<font style="color: #cccccc; font-size: 11px; font-family: arial; font-weight: normal; margin-bottom: 10px; margin-top: 0;">
<strong>Social Media:</strong>
</font>
</td>
</tr>
<tr>
<td align="left">
<img style="border:0; display: inline-block;" src="facebook.png" alt="Facebook" />
</td>
<td width="5" />
<td align="left">
<span style="color: #cccccc; font-size: 11px; font-family: arial; font-weight: normal; margin-top: 0;">
<a style="color: #cccccc;" href="#" title="Facebook" >
Become a fan on Facebook
</a>
</span>
</td>
</tr>
<tr>
<td align="left" colspan="3" height="5" />
</tr>
<tr>
<td align="left" valign="middle">
<img style="border:0; display: inline-block;" src="twitter.png" alt="Twitter" />
</td>
<td width="5" />
<td align="left">
<span style="color: #cccccc; font-size: 11px; font-family: arial; font-weight: normal; margin-top: 0;">
<a style="color: #cccccc;" href="#" title="Twitterk" >
Follow us on Twitter
</a>
</span>
</td>
</tr>
<tr>
<td align="left" colspan="3" height="5" />
</tr>
<tr>
<td align="left" valign="middle">
<img style="border:0; display: inline-block;" src="youtube.png" alt="Youtube" />
</td>
<td width="5" />
<td align="left">
<span style="color: #cccccc; font-size: 11px; font-family: arial; font-weight: normal; margin-top: 0;">
<a style="color: #cccccc;" href="https://www.google.co.uk/" title="Youtube" >
Watch us on Youtube
</a>
</span>
</td>
</tr>
</table>