StevieD009
New Coder
Hi all,
I'm trying to build an email signature from a template I purchased, and as always I'm running into issues
1) The divider line (little grey line below the title) seems to be spacing in a strange way when I add the signature in Gmail
2) The signature is displaying too big on desktop, and barely readable on mobile, so it seems there is a size definition issue?
Including a screenshot of how it looks in Dreamweaver, and what I'm hoping to get to. Any help is greatly appreciated, thanks!
I'm trying to build an email signature from a template I purchased, and as always I'm running into issues
1) The divider line (little grey line below the title) seems to be spacing in a strange way when I add the signature in Gmail
2) The signature is displaying too big on desktop, and barely readable on mobile, so it seems there is a size definition issue?
Including a screenshot of how it looks in Dreamweaver, and what I'm hoping to get to. Any help is greatly appreciated, thanks!
Code:
<style type="text/css">
/* Client-specific Styles */
#outlook a {padding:0;} /* Force Outlook to provide a "view in browser" menu link. */
body{width:100% !important; -webkit-text-size-adjust:100%; -ms-text-size-adjust:100%; margin:0; padding:0;}
/* Prevent Webkit and Windows Mobile platforms from changing default font sizes, while not breaking desktop design. */
.ExternalClass {width:100%;} /* Force Hotmail to display emails at full width */
.ExternalClass, .ExternalClass p, .ExternalClass span, .ExternalClass font, .ExternalClass td, .ExternalClass div {line-height: 100%;} /* Force Hotmail to display normal line spacing.*/
img {outline:none; text-decoration:none;border:none; -ms-interpolation-mode:bicubic;}
a img {border:none;text-decoration:none;border:none; -ms-interpolation-mode:bicubic;}
p {margin: 0px 0px !important;}
table { border-collapse:collapse; mso-table-lspace:0pt; mso-table-rspace:0pt; }
table td {border-collapse: collapse;}
/*STYLES*/
/*################################################*/
/*IPAD STYLES*/
/*################################################*/
@media only screen and (max-width: 640px) {
a[href^="tel"], a[href^="sms"] {
text-decoration:none;
color:#212121; /* or whatever your want */
pointer-events:none;
cursor:default;
}
.mobile_link a[href^="tel"], .mobile_link a[href^="sms"] {
text-decoration:default;
color:#212121 !important;
pointer-events:auto;
cursor:default;
}
}
/*##############################################*/
/*IPHONE STYLES*/
/*##############################################*/
@media only screen and (max-width: 480px) {
a[href^="tel"], a[href^="sms"] {
text-decoration:none;
color:#212121; /* or whatever your want */
pointer-events:none;
cursor:default;
}
.mobile_link a[href^="tel"], .mobile_link a[href^="sms"] {
text-decoration:default;
color:#212121 !important;
pointer-events:auto;
cursor:default;
}
}
@import url(http://fonts.googleapis.com/css?family=Montserrat:400,700);
</style>
<table width="640" border="0" cellspacing="0" cellpadding="0" style="border-collapse:collapse; mso-table-lspace:0pt; mso-table-rspace:0pt;">
<tbody>
<tr>
<td width="90" valign="top" align="left" style="padding:0 20px 0 0;">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="middle" align="center" style="width:90px; height:90px; background:#ffffff;">
<img src="https://cdn.shopify.com/s/files/1/2677/6462/files/Physicians_Choice_Logomark-01.png?v=1590690081" alt="Logo" style="display:block; border:none;" />
</td>
</tr>
</table>
</td>
<td width="562" valign="top" align="left">
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="border-collapse:collapse; mso-table-lspace:0pt; mso-table-rspace:0pt;">
<tbody>
<tr>
<td style="font-family:'Montserrat', sans-serif, Arial; font-size:16px; line-height:24px; font-weight:700; color:#221f1f; padding:0 0 0 10px; letter-spacing:2px; text-transform:uppercase;">Steven Davis</td>
</tr>
<tr>
<td style="font-family:'Montserrat', sans-serif, Arial; font-size:10px; line-height:14px; font-weight:400; color:#212121; padding:0 0 0 10px; letter-spacing:1px; text-transform:uppercase;">Creative Director</td>
</tr>
<tr>
<td style="padding:15px 0 10px 10px;"><img src="https://cdn.shopify.com/s/files/1/2677/6462/files/divider.jpg?v=1590690669" alt="" /></td>
</tr>
<tr>
<td align="left" style="padding:5px 0 10px 10px;">
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="border-collapse:collapse; mso-table-lspace:0pt; mso-table-rspace:0pt;">
<tbody>
<tr>
<td width="7%" height="25" align="left" valign="middle"><img src="https://cdn.shopify.com/s/files/1/2677/6462/files/icon-phone_dark.png?v=1590690081" alt="Phone" style="display:block;" /></td>
<td width="93%" height="25" align="left" valign="middle" style="font-family:'Montserrat', sans-serif, Arial; font-size:12px; line-height:24px; font-weight:400; color:#212121; letter-spacing:.5px;">720 409 9007</td>
</tr>
<tr>
<td width="7%" height="25" align="left" valign="middle"><img src="https://cdn.shopify.com/s/files/1/2677/6462/files/icon-email_dark.png?v=1590690081" alt="Email" style="display:block;" /></td>
<td width="93%" height="25" align="left" valign="middle" style="font-family:'Montserrat', sans-serif, Arial; font-size:12px; line-height:24px; font-weight:400; color:#212121; letter-spacing:.5px;">
<a href="mailto:[email protected]" style="text-decoration:none; color:#2f3542;">[email protected]</a></td>
</tr>
<tr>
<td width="7%" height="25" align="left" valign="middle"><img src="https://cdn.shopify.com/s/files/1/2677/6462/files/icon-web_dark.png?v=1590690081" alt="Physician's Choice Website" style="display:block;" /></td>
<td width="93%" height="25" align="left" valign="middle" style="font-family:'Montserrat', sans-serif, Arial; font-size:12px; line-height:24px; font-weight:400; color:#212121; letter-spacing:.5px;">
<a href="https://www.physicianschoice.com" style="text-decoration:none; color:#2f3542;">physicianschoice.com</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td style="padding:10px 0 0 5px;">
<a href="https://www.facebook.com/PhysiciansChoice/" target="_blank"><img src="https://cdn.shopify.com/s/files/1/2677/6462/files/social-facebook_dark.png?v=1590690081" alt="Facebook" /></a>
<a href="https://twitter.com/PhysiciansCh" target="_blank"><img src="https://cdn.shopify.com/s/files/1/2677/6462/files/social-twitter_dark.png?v=1590690081" alt="Twitter" /></a>
<a href="https://www.instagram.com/physicianschoice/" target="_blank"><img src="https://cdn.shopify.com/s/files/1/2677/6462/files/social-instagram_dark.png?v=1590690081" alt="Instagram" /></a>
<a href="https://www.pinterest.com/physicianschoicesupplements/" target="_blank"><img src="https://cdn.shopify.com/s/files/1/2677/6462/files/social-pinterest_dark.png?v=1590690081" alt="Pinterest" /></a>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>