- android - 多次调用 OnPrimaryClipChangedListener
- android - 无法更新 RecyclerView 中的 TextView 字段
- android.database.CursorIndexOutOfBoundsException : Index 0 requested, 光标大小为 0
- android - 使用 AppCompat 时,我们是否需要明确指定其 UI 组件(Spinner、EditText)颜色
我创建了一封 HTML 电子邮件,当在网络浏览器上的 Gmail 和 Android 应用程序 (Gmail) 上查看时,该电子邮件具有特定的布局问题。到目前为止,我一直无法追踪到有问题的代码,并且无法理解为什么 Gmail 在某个点之后将 HTML 电子邮件分成两部分,并将内容放在看似独立的两列中。
如果有人可以帮助提出解决方案或问题的原因,以及可能的解决方案,我们将不胜感激。
可在此处查看 HTML:
https://jsfiddle.net/59bd2z0L/
这里的问题截图(Gmail 网络浏览器):
这里的问题截图(Gmail Android App):
源 HTML 在这里:
<!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 name="viewport" content="width=device-width" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<style type="text/css">
map area {outline:none;}
</style>
<title>Lorem Ipsum</title>
</head>
<body bgcolor="#FFFFFF">
<center>
<font style="font-size:13px; color:#000000; font-family:Arial, Helvetica, sans-serif; -webkit-text-size-adjust:none;">Header goes here Lorem ipsum dolor sit amet, consectetur.<media><br />
Lorem ipsum dolor sit amet, consectetur adipiscing elit. <a style="color:#000000;" href="&&&">click here</a>.</font><br /><br />
<table border="0" cellspacing="0" width="100%">
<tr>
<td></td>
<td width="640">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td align="right">
<font style="font-size:16px; color:#000000; font-family:Arial, Helvetica, sans-serif; -webkit-text-size-adjust:none;"><a style="color:#000000;" href="">Lorem Ipsum</a></font><br />
</td>
</tr>
</table>
</td>
<td></td>
</tr>
</table>
<table border="0" cellspacing="0" width="100%"><tr><td></td><td width="640">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td>
<!-- Image Section -->
<center><a href=""><img src="http://e76511c942b88eacf86b-059234da599e889c40c5d41b924fda9f.r7.cf3.rackcdn.com/gold-te-header.jpg" width="100%" style="max-width:500px;" alt="" border="0" /></a></center>
<!-- End Image Section -->
<!-- Image Section -->
<center><a href=""><img src="http://e76511c942b88eacf86b-059234da599e889c40c5d41b924fda9f.r7.cf3.rackcdn.com/responsive-email-logo.jpg" width="100%" style="max-width:500px;" alt="" border="0" /></a></center>
<!-- End Image Section -->
</td></tr>
<tr><td height="10" style="font-size: 1px; line-height: 10px;"> </td></tr>
<!-- Menu Section -->
<tr><td><center><table border="0" cellpadding="0" cellspacing="0"><tr>
<td><a href=""><img src="http://e76511c942b88eacf86b-059234da599e889c40c5d41b924fda9f.r7.cf3.rackcdn.com/responsive-email-women-top.jpg" width="100%" style="max-width:121px;" alt="Women" border="0" /></a></td>
<td><a href=""><img src="http://e76511c942b88eacf86b-059234da599e889c40c5d41b924fda9f.r7.cf3.rackcdn.com/responsive-email-men-top.jpg" width="100%" style="max-width:81px;" alt="Men" border="0" /></a></td>
<td><a href=""><img src="http://e76511c942b88eacf86b-059234da599e889c40c5d41b924fda9f.r7.cf3.rackcdn.com/responsive-email-uni-top.jpg" width="100%" style="max-width:116px;" alt="Unisex" border="0" /></a></td>
<td><a href=""><img src="http://e76511c942b88eacf86b-059234da599e889c40c5d41b924fda9f.r7.cf3.rackcdn.com/responsive-email-foot-top.jpg" width="100%" style="max-width:165px;" alt="Footwear" border="0" /></a></td>
<td><a href=""><img src="http://e76511c942b88eacf86b-059234da599e889c40c5d41b924fda9f.r7.cf3.rackcdn.com/clear-top.jpg" width="100%" style="max-width:157px;" alt="Clearance" border="0" /></a></td>
</tr></table></center></td></tr>
<!-- End Menu Section -->
<tr><td height="10" style="font-size: 1px; line-height: 10px;"> </td></tr>
<!-- Image Section -->
<tr><td>
<center><a href=""><img src="http://e76511c942b88eacf86b-059234da599e889c40c5d41b924fda9f.r7.cf3.rackcdn.com/responsive-email-artwork1.jpg" width="100%" style="max-width:640px;" alt="Header goes here using promotional code <media>" border="0" /></a></center>
</td></tr>
<!-- End Image Section -->
<!-- Image Section -->
<tr><td>
<center><a href=""><img src="http://e76511c942b88eacf86b-059234da599e889c40c5d41b924fda9f.r7.cf3.rackcdn.com/responsive-email-artwork2.jpg" width="100%" style="max-width:640px;" alt="Header goes here using promotional code <media>" border="0" /></a></center>
</td></tr>
<!-- End Image Section -->
<!-- Image Section -->
<tr><td>
<center><a href=""><img src="http://e76511c942b88eacf86b-059234da599e889c40c5d41b924fda9f.r7.cf3.rackcdn.com/responsive-email-artwork3.jpg" width="100%" style="max-width:640px;" alt="Header goes here using promotional code <media>" border="0" /></a></center>
</td></tr>
<!-- End Image Section -->
<tr><td height="20" style="font-size: 1px; line-height: 20px;"> </td></tr>
<!-- Large Live Text Section -->
<tr><td>
<center>
<font style="font-size:19px; color:#000000; font-family:Arial, Helvetica, sans-serif; -webkit-text-size-adjust:none;">
<strong>Size 19 Live text:</strong> et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque deserunt mollitia animi, id est laborum.</strong>
</font>
</center>
</td></tr>
<!-- End Large Live Text Section -->
<tr><td height="20" style="font-size: 1px; line-height: 20px;"> </td></tr>
<!-- Image Section -->
<tr><td>
<center><a href=""><img src="http://e76511c942b88eacf86b-059234da599e889c40c5d41b924fda9f.r7.cf3.rackcdn.com/responsive-email-artwork4cta.jpg" width="100%" style="max-width:640px;" alt="Header goes here using promotional code <media>" border="0" /></a></center>
</td></tr>
<!-- End Image Section -->
<tr><td height="20" style="font-size: 1px; line-height: 20px;"> </td></tr>
<!-- Image Section -->
<tr><td>
<center><a href=""><img src="http://e76511c942b88eacf86b-059234da599e889c40c5d41b924fda9f.r7.cf3.rackcdn.com/responsive-email-artwork5.jpg" width="100%" style="max-width:640px;" alt="Header goes here using promotional code <media>" border="0" /></a></center>
</td></tr>
<!-- End Image Section -->
<!-- Image Section -->
<tr><td>
<center><a href=""><img src="http://e76511c942b88eacf86b-059234da599e889c40c5d41b924fda9f.r7.cf3.rackcdn.com/responsive-email-artwork6cta.jpg" width="100%" style="max-width:640px;" alt="Header goes here using promotional code <media>" border="0" /></a></center>
</td></tr>
<!-- End Image Section -->
<tr><td height="20" style="font-size: 1px; line-height: 20px;"> </td></tr>
<!-- Letter Text Section -->
<tr><td>
<center>
<table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td width="3%"></td><td width="94%">
<font style="font-size:16px; color:#000000; font-family:Arial, Helvetica, sans-serif; -webkit-text-size-adjust:none;">
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur
</font>
</center>
</td><td width="3%"></td></tr></table>
</td></tr>
<!-- End Letter Text Section -->
<tr><td height="30" style="font-size: 1px; line-height: 30px;"> </td></tr>
<!-- Grey Background Section -->
<tr><td bgcolor="#eff0f2" height="20" style="font-size: 1px; line-height: 20px;"> </td></tr>
<tr><td bgcolor="#eff0f2">
<center>
<font style="font-size:19px; color:#000000; font-family:Arial, Helvetica, sans-serif; -webkit-text-size-adjust:none;">
<strong>Lorem ipsum dolor sit amet, consectetur</strong><br /><br /><br />
</font>
<font style="font-size:12px; color:#000000; font-family:Arial, Helvetica, sans-serif; -webkit-text-size-adjust:none;">
Lorem ipsum dolor sit amet, consectetur.
</font>
</center>
</td></tr>
<tr><td bgcolor="#eff0f2" height="20" style="font-size: 1px; line-height: 20px;"> </td></tr>
<!-- End Grey Background Section -->
<tr><td height="30" style="font-size: 1px; line-height: 30px;"> </td></tr>
<!-- Double Banner -->
<tr><td><center><a href=""><img src="http://e76511c942b88eacf86b-059234da599e889c40c5d41b924fda9f.r7.cf3.rackcdn.com/email-ecat.jpg" width="100%" style="max-width:320px;" alt="Header goes here using promotional code <media>" border="0" /></a><a href=""><img src="http://e76511c942b88eacf86b-059234da599e889c40c5d41b924fda9f.r7.cf3.rackcdn.com/responsive-email-banner-r.jpg" width="100%" style="max-width:320px;" alt="Header goes here using promotional code <media>" border="0" /></a></center></td></tr>
<!-- End Double Banner -->
<!-- USP Section -->
<tr><td><center><a href=""><img src="http://e76511c942b88eacf86b-059234da599e889c40c5d41b924fda9f.r7.cf3.rackcdn.com/responsive-email-locator.jpg" width="100%" style="max-width:280px;" alt="Header goes here using promotional code <media>" border="0" /></a><a href=""><img src="http://e76511c942b88eacf86b-059234da599e889c40c5d41b924fda9f.r7.cf3.rackcdn.com/responsive-email-size.jpg" width="100%" style="max-width:280px;" alt="Header goes here using promotional code <media>" border="0" /></a><a href=""><img src="http://e76511c942b88eacf86b-059234da599e889c40c5d41b924fda9f.r7.cf3.rackcdn.com/responsive-email-care.jpg" width="100%" style="max-width:280px;" alt="Header goes here using promotional code <media>" border="0" /></a><a href=""><img src="http://e76511c942b88eacf86b-059234da599e889c40c5d41b924fda9f.r7.cf3.rackcdn.com/responsive-email-returns.jpg" width="100%" style="max-width:280px;" alt="Header goes here using promotional code <media>" border="0" /></a></center></td></tr>
<!-- End USP Section -->
<!-- Social Section -->
<tr><td><center><table border="0" cellpadding="0" cellspacing="0"><tr>
<td><a href=""><img src="http://e76511c942b88eacf86b-059234da599e889c40c5d41b924fda9f.r7.cf3.rackcdn.com/responsive-email-fbook.jpg" width="100%" style="max-width:196px;" alt="Facebook" border="0" /></a></td>
<td><a href=""><img src="http://e76511c942b88eacf86b-059234da599e889c40c5d41b924fda9f.r7.cf3.rackcdn.com/responsive-email-pin.jpg" width="100%" style="max-width:78px;" alt="Pinterest" border="0" /></a></td>
<td><a href=""><img src="http://e76511c942b88eacf86b-059234da599e889c40c5d41b924fda9f.r7.cf3.rackcdn.com/responsive-email-twi.jpg" width="100%" style="max-width:77px;" alt="Twitter" border="0" /></a></td>
<td><a href=""><img src="http://e76511c942b88eacf86b-059234da599e889c40c5d41b924fda9f.r7.cf3.rackcdn.com/responsive-email-google.jpg" width="100%" style="max-width:96px;" alt="Google+" border="0" /></a></td>
<td><a href=""><img src="http://e76511c942b88eacf86b-059234da599e889c40c5d41b924fda9f.r7.cf3.rackcdn.com/responsive-email-blog.jpg" width="100%" style="max-width:192px;" alt="Blog" border="0" /></a></td>
</tr></table></center></td></tr>
<!-- End Social Section -->
<!-- Bottom Menu -->
<tr><td>
<center><img src="http://e76511c942b88eacf86b-059234da599e889c40c5d41b924fda9f.r7.cf3.rackcdn.com/responsive-email-viewmore.jpg" width="100%" style="max-width:639px;" alt="View More" /></center>
</td></tr>
<tr><td>
<center><a href=""><img src="http://e76511c942b88eacf86b-059234da599e889c40c5d41b924fda9f.r7.cf3.rackcdn.com/responsive-email-women-bot.jpg" width="100%" style="max-width:639px;" alt="Women" border="0" /></a></center>
</td></tr>
<tr><td>
<center><a href=""><img src="http://e76511c942b88eacf86b-059234da599e889c40c5d41b924fda9f.r7.cf3.rackcdn.com/responsive-email-men-bot.jpg" width="100%" style="max-width:639px;" alt="Men" border="0" /></a></center>
</td></tr>
<tr><td>
<center><a href=""><img src="http://e76511c942b88eacf86b-059234da599e889c40c5d41b924fda9f.r7.cf3.rackcdn.com/responsive-email-uni-bot.jpg" width="100%" style="max-width:639px;" alt="Unisex" border="0" /></a></center>
</td></tr>
<tr><td>
<center><a href=""><img src="http://e76511c942b88eacf86b-059234da599e889c40c5d41b924fda9f.r7.cf3.rackcdn.com/responsive-email-foot-bot.jpg" width="100%" style="max-width:639px;" alt="Footwear" border="0" /></a></center>
</td></tr>
<tr><td>
<center><a href=""><img src="http://e76511c942b88eacf86b-059234da599e889c40c5d41b924fda9f.r7.cf3.rackcdn.com/responsive-email-security.jpg" width="100%" style="max-width:639px;" alt="Clearance" border="0" /></a></center>
</td></tr>
<!-- End Bottom Menu -->
<!-- Security Banners -->
<tr><td>
<center><img src="http://e76511c942b88eacf86b-059234da599e889c40c5d41b924fda9f.r7.cf3.rackcdn.com/responsive-email-1.jpg" width="100%" style="max-width:639px;" alt="Security" /></center>
</td></tr>
<!-- End Security Banners -->
<!-- T&Cs -->
<tr><td>
<center>
<font style="font-size:12px; color:#000000; font-family:Arial, Helvetica, sans-serif; -webkit-text-size-adjust:none;"><br />
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur
</font>
</center>
</td></tr>
<!-- End T&Cs -->
</table>
</td><td></td></tr></table>
</center>
</body>
</html>
最佳答案
您的代码中存在许多 HTML 标记放置错误。这是更正后的代码:
<!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 name="viewport" content="width=device-width" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<style type="text/css">
map area {
outline: none;
}
</style>
<title>Lorem Ipsum</title>
</head>
<body bgcolor="#FFFFFF">
<center>
<font style="font-size:13px; color:#000000; font-family:Arial, Helvetica, sans-serif; -webkit-text-size-adjust:none;">Header goes here Lorem ipsum dolor sit amet, consectetur.<br /> Lorem ipsum dolor sit amet, consectetur adipiscing elit. <a style="color:#000000;" href="&&&">click here</a>.
</font>
<br />
<br />
<table border="0" cellspacing="0" width="100%">
<tr>
<td></td>
<td width="640">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td align="right">
<font style="font-size:16px; color:#000000; font-family:Arial, Helvetica, sans-serif; -webkit-text-size-adjust:none;"><a style="color:#000000;" href="">Lorem Ipsum</a></font>
<br />
</td>
</tr>
</table>
</td>
<td></td>
</tr>
</table>
<table border="0" cellspacing="0" width="100%">
<tr>
<td></td>
<td width="640">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td>
<!-- Image Section -->
<center>
<a href=""><img src="http://e76511c942b88eacf86b-059234da599e889c40c5d41b924fda9f.r7.cf3.rackcdn.com/gold-te-header.jpg" width="100%" style="max-width:500px;" alt="" border="0" /></a>
</center>
<!-- End Image Section -->
<!-- Image Section -->
<center>
<a href=""><img src="http://e76511c942b88eacf86b-059234da599e889c40c5d41b924fda9f.r7.cf3.rackcdn.com/responsive-email-logo.jpg" width="100%" style="max-width:500px;" alt="" border="0" /></a>
</center>
<!-- End Image Section -->
</td>
</tr>
<tr>
<td height="10" style="font-size: 1px; line-height: 10px;"> </td>
</tr>
<!-- Menu Section -->
<tr>
<td>
<center>
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<a href=""><img src="http://e76511c942b88eacf86b-059234da599e889c40c5d41b924fda9f.r7.cf3.rackcdn.com/responsive-email-women-top.jpg" width="100%" style="max-width:121px;" alt="Women" border="0" /></a>
</td>
<td>
<a href=""><img src="http://e76511c942b88eacf86b-059234da599e889c40c5d41b924fda9f.r7.cf3.rackcdn.com/responsive-email-men-top.jpg" width="100%" style="max-width:81px;" alt="Men" border="0" /></a>
</td>
<td>
<a href=""><img src="http://e76511c942b88eacf86b-059234da599e889c40c5d41b924fda9f.r7.cf3.rackcdn.com/responsive-email-uni-top.jpg" width="100%" style="max-width:116px;" alt="Unisex" border="0" /></a>
</td>
<td>
<a href=""><img src="http://e76511c942b88eacf86b-059234da599e889c40c5d41b924fda9f.r7.cf3.rackcdn.com/responsive-email-foot-top.jpg" width="100%" style="max-width:165px;" alt="Footwear" border="0" /></a>
</td>
<td>
<a href=""><img src="http://e76511c942b88eacf86b-059234da599e889c40c5d41b924fda9f.r7.cf3.rackcdn.com/clear-top.jpg" width="100%" style="max-width:157px;" alt="Clearance" border="0" /></a>
</td>
</tr>
</table>
</center>
</td>
</tr>
<!-- End Menu Section -->
<tr>
<td height="10" style="font-size: 1px; line-height: 10px;"> </td>
</tr>
<!-- Image Section -->
<tr>
<td>
<center><a href=""><img src="http://e76511c942b88eacf86b-059234da599e889c40c5d41b924fda9f.r7.cf3.rackcdn.com/responsive-email-artwork1.jpg" width="100%" style="max-width:640px;" alt="Header goes here using promotional code <media>" border="0" /></a></center>
</td>
</tr>
<!-- End Image Section -->
<!-- Image Section -->
<tr>
<td>
<center><a href=""><img src="http://e76511c942b88eacf86b-059234da599e889c40c5d41b924fda9f.r7.cf3.rackcdn.com/responsive-email-artwork2.jpg" width="100%" style="max-width:640px;" alt="Header goes here using promotional code <media>" border="0" /></a></center>
</td>
</tr>
<!-- End Image Section -->
<!-- Image Section -->
<tr>
<td>
<center><a href=""><img src="http://e76511c942b88eacf86b-059234da599e889c40c5d41b924fda9f.r7.cf3.rackcdn.com/responsive-email-artwork3.jpg" width="100%" style="max-width:640px;" alt="Header goes here using promotional code <media>" border="0" /></a></center>
</td>
</tr>
<!-- End Image Section -->
<tr>
<td height="20" style="font-size: 1px; line-height: 20px;"> </td>
</tr>
<!-- Large Live Text Section -->
<tr>
<td>
<center>
<font style="font-size:19px; color:#000000; font-family:Arial, Helvetica, sans-serif; -webkit-text-size-adjust:none;">
<strong>Size 19 Live text:</strong> et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque deserunt mollitia animi, id est laborum.
</font>
</center>
</td>
</tr>
<!-- End Large Live Text Section -->
<tr>
<td height="20" style="font-size: 1px; line-height: 20px;"> </td>
</tr>
<!-- Image Section -->
<tr>
<td>
<center><a href=""><img src="http://e76511c942b88eacf86b-059234da599e889c40c5d41b924fda9f.r7.cf3.rackcdn.com/responsive-email-artwork4cta.jpg" width="100%" style="max-width:640px;" alt="Header goes here using promotional code <media>" border="0" /></a></center>
</td>
</tr>
<!-- End Image Section -->
<tr>
<td height="20" style="font-size: 1px; line-height: 20px;"> </td>
</tr>
<!-- Image Section -->
<tr>
<td>
<center><a href=""><img src="http://e76511c942b88eacf86b-059234da599e889c40c5d41b924fda9f.r7.cf3.rackcdn.com/responsive-email-artwork5.jpg" width="100%" style="max-width:640px;" alt="Header goes here using promotional code <media>" border="0" /></a></center>
</td>
</tr>
<!-- End Image Section -->
<!-- Image Section -->
<tr>
<td>
<center><a href=""><img src="http://e76511c942b88eacf86b-059234da599e889c40c5d41b924fda9f.r7.cf3.rackcdn.com/responsive-email-artwork6cta.jpg" width="100%" style="max-width:640px;" alt="Header goes here using promotional code <media>" border="0" /></a></center>
</td>
</tr>
<!-- End Image Section -->
<tr>
<td height="20" style="font-size: 1px; line-height: 20px;"> </td>
</tr>
<!-- Letter Text Section -->
<tr>
<td>
<center>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="3%"></td>
<td width="94%">
<font style="font-size:16px; color:#000000; font-family:Arial, Helvetica, sans-serif; -webkit-text-size-adjust:none;">
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas
sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam
eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem
vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur
</font>
</td>
<td width="3%"></td>
</tr>
</table>
</center>
</td>
</tr>
<!-- End Letter Text Section -->
<tr>
<td height="30" style="font-size: 1px; line-height: 30px;"> </td>
</tr>
<!-- Grey Background Section -->
<tr>
<td bgcolor="#eff0f2" height="20" style="font-size: 1px; line-height: 20px;"> </td>
</tr>
<tr>
<td bgcolor="#eff0f2">
<center>
<font style="font-size:19px; color:#000000; font-family:Arial, Helvetica, sans-serif; -webkit-text-size-adjust:none;">
<strong>Lorem ipsum dolor sit amet, consectetur</strong><br /><br /><br />
</font>
<font style="font-size:12px; color:#000000; font-family:Arial, Helvetica, sans-serif; -webkit-text-size-adjust:none;">
Lorem ipsum dolor sit amet, consectetur.
</font>
</center>
</td>
</tr>
<tr>
<td bgcolor="#eff0f2" height="20" style="font-size: 1px; line-height: 20px;"> </td>
</tr>
<!-- End Grey Background Section -->
<tr>
<td height="30" style="font-size: 1px; line-height: 30px;"> </td>
</tr>
<!-- Double Banner -->
<tr>
<td>
<center><a href=""><img src="http://e76511c942b88eacf86b-059234da599e889c40c5d41b924fda9f.r7.cf3.rackcdn.com/email-ecat.jpg" width="100%" style="max-width:320px;" alt="Header goes here using promotional code <media>" border="0" /></a><a href=""><img src="http://e76511c942b88eacf86b-059234da599e889c40c5d41b924fda9f.r7.cf3.rackcdn.com/responsive-email-banner-r.jpg" width="100%" style="max-width:320px;" alt="Header goes here using promotional code <media>" border="0" /></a></center>
</td>
</tr>
<!-- End Double Banner -->
<!-- USP Section -->
<tr>
<td>
<center><a href=""><img src="http://e76511c942b88eacf86b-059234da599e889c40c5d41b924fda9f.r7.cf3.rackcdn.com/responsive-email-locator.jpg" width="100%" style="max-width:280px;" alt="Header goes here using promotional code <media>" border="0" /></a>
<a href=""><img src="http://e76511c942b88eacf86b-059234da599e889c40c5d41b924fda9f.r7.cf3.rackcdn.com/responsive-email-size.jpg" width="100%" style="max-width:280px;" alt="Header goes here using promotional code <media>" border="0" /></a>
<a href=""><img src="http://e76511c942b88eacf86b-059234da599e889c40c5d41b924fda9f.r7.cf3.rackcdn.com/responsive-email-care.jpg" width="100%" style="max-width:280px;" alt="Header goes here using promotional code <media>" border="0" /></a>
<a href=""><img src="http://e76511c942b88eacf86b-059234da599e889c40c5d41b924fda9f.r7.cf3.rackcdn.com/responsive-email-returns.jpg" width="100%" style="max-width:280px;" alt="Header goes here using promotional code <media>" border="0" /></a>
</center>
</td>
</tr>
<!-- End USP Section -->
<!-- Social Section -->
<tr>
<td>
<center>
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<a href=""><img src="http://e76511c942b88eacf86b-059234da599e889c40c5d41b924fda9f.r7.cf3.rackcdn.com/responsive-email-fbook.jpg" width="100%" style="max-width:196px;" alt="Facebook" border="0" /></a>
</td>
<td>
<a href=""><img src="http://e76511c942b88eacf86b-059234da599e889c40c5d41b924fda9f.r7.cf3.rackcdn.com/responsive-email-pin.jpg" width="100%" style="max-width:78px;" alt="Pinterest" border="0" /></a>
</td>
<td>
<a href=""><img src="http://e76511c942b88eacf86b-059234da599e889c40c5d41b924fda9f.r7.cf3.rackcdn.com/responsive-email-twi.jpg" width="100%" style="max-width:77px;" alt="Twitter" border="0" /></a>
</td>
<td>
<a href=""><img src="http://e76511c942b88eacf86b-059234da599e889c40c5d41b924fda9f.r7.cf3.rackcdn.com/responsive-email-google.jpg" width="100%" style="max-width:96px;" alt="Google+" border="0" /></a>
</td>
<td>
<a href=""><img src="http://e76511c942b88eacf86b-059234da599e889c40c5d41b924fda9f.r7.cf3.rackcdn.com/responsive-email-blog.jpg" width="100%" style="max-width:192px;" alt="Blog" border="0" /></a>
</td>
</tr>
</table>
</center>
</td>
</tr>
<!-- End Social Section -->
<!-- Bottom Menu -->
<tr>
<td>
<center><img src="http://e76511c942b88eacf86b-059234da599e889c40c5d41b924fda9f.r7.cf3.rackcdn.com/responsive-email-viewmore.jpg" width="100%" style="max-width:639px;" alt="View More" /></center>
</td>
</tr>
<tr>
<td>
<center>
<a href=""><img src="http://e76511c942b88eacf86b-059234da599e889c40c5d41b924fda9f.r7.cf3.rackcdn.com/responsive-email-women-bot.jpg" width="100%" style="max-width:639px;" alt="Women" border="0" /></a>
</center>
</td>
</tr>
<tr>
<td>
<center>
<a href=""><img src="http://e76511c942b88eacf86b-059234da599e889c40c5d41b924fda9f.r7.cf3.rackcdn.com/responsive-email-men-bot.jpg" width="100%" style="max-width:639px;" alt="Men" border="0" /></a>
</center>
</td>
</tr>
<tr>
<td>
<center>
<a href=""><img src="http://e76511c942b88eacf86b-059234da599e889c40c5d41b924fda9f.r7.cf3.rackcdn.com/responsive-email-uni-bot.jpg" width="100%" style="max-width:639px;" alt="Unisex" border="0" /></a>
</center>
</td>
</tr>
<tr>
<td>
<center>
<a href=""><img src="http://e76511c942b88eacf86b-059234da599e889c40c5d41b924fda9f.r7.cf3.rackcdn.com/responsive-email-foot-bot.jpg" width="100%" style="max-width:639px;" alt="Footwear" border="0" /></a>
</center>
</td>
</tr>
<tr>
<td>
<center>
<a href=""><img src="http://e76511c942b88eacf86b-059234da599e889c40c5d41b924fda9f.r7.cf3.rackcdn.com/responsive-email-security.jpg" width="100%" style="max-width:639px;" alt="Clearance" border="0" /></a>
</center>
</td>
</tr>
<!-- End Bottom Menu -->
<!-- Security Banners -->
<tr>
<td>
<center><img src="http://e76511c942b88eacf86b-059234da599e889c40c5d41b924fda9f.r7.cf3.rackcdn.com/responsive-email-1.jpg" width="100%" style="max-width:639px;" alt="Security" /></center>
</td>
</tr>
<!-- End Security Banners -->
<!-- T&Cs -->
<tr>
<td>
<center>
<font style="font-size:12px; color:#000000; font-family:Arial, Helvetica, sans-serif; -webkit-text-size-adjust:none;"><br /> Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim
ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci
velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur?
Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur
</font>
</center>
</td>
</tr>
<!-- End T&Cs -->
</table>
</td>
<td></td>
</tr>
</table>
</center>
</body>
</html>
使用它并告诉我它是否有效:)
关于Gmail 中的 HTML 电子邮件液体布局中断,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43186231/
所以,我正在使用的这个 Web 应用程序有三个垂直列扩展到整个窗口高度,还有一个页脚 div 扩展到整个宽度。布局如下所示: +|+ --- 其中 + 表示流动列,| 表示固定列,- 表示页脚。 我已
谁能帮我区分{% %}和 {%- -%} .这些语法之间有什么区别。在我的所有用法中,我可以使用任何主题 最佳答案 唯一的区别是一个去掉空白,另一个不去掉。 所以这个{% %}将保留它周围的任何空白。
我正在尝试根据用户查看某个网页的时间启用 div 类,例如:博客、索引或 ../page/webpage 代码是这样的: {% unless template contains "index" and
我是第一次用 Eleventy 建立一个网站,尽管我已经和 Liquid 合作了一段时间,但我还是无法破解这个网站。 我想尽可能地简化架构。这就是为什么我将我的集合分配给变量的原因: {% assig
我想要一组链接 Random Articles Old article 1 Old article 1 Old article 1 但我想从我的帖子中随机
从屏幕截图中,您可以看到当我按下到下一张幻灯片时,箭头不会根据内容高度自动调整。 我希望箭头的动态高度显示在内容的中间。 我引用了Liquid Slider的代码,你可以查看here或在下面查看我的问
好的,我的个人网站有一个基于 CSS liquid div 的布局。地址是 http://danberinger.com/preview.html 问题是我不希望页 footer 分表现得像内联显示一
我正在这个网站上工作:http://www.justaddsolutions.com/SampleSite/ 主要区域的宽度为 1024 像素并且始终居中,这已实现。但是,当浏览器窗口宽度超过 102
我正在使用带有 ajax 的 Liquid Slider,但我遇到了高度问题。 这是我的脚本: var api2 = $.data( $('#slider-7')[0], 'liquidSlider'
我有一个很像 this user 的问题,但我想更进一步,使我的图像具有能够流畅响应其容器的高度。 我做了一个东西来演示here . 我想要做的是给容器 div 类“navcont”(灰色区域)一个流
我想要一个 [Fixed][Liquid][Fixed] 跨浏览器兼容的布局。 HTML: body div#col-1 div#col-2 div#col-3 CSS: #col
如何在我的 spriteKit 应用程序中获取少量液体? 我想要那种液体放在一个容器里,它会被密封在里面,但我希望它能够四处移动。 有没有更好的方法来实现这个?也许没有 SpriteKit 的选项?
假设我有一堆 _data 文件,用于为特定页面创建列表。所有具有这些列表的页面都有一个自定义的前端变量 pageName。 pageName 的值恰好将 _data 文件与列表匹配。 我不想将 htm
我是 Shopify 新手,我正在尝试了解以下内容。我知道 Liquid 模板引擎会解析 Shopify 服务器上的 JavaScript。 有办法防止这种情况发生吗?例如,我有一个变量来配置我的插值
我被困在我正在处理的网站的 css 布局上。它是一个报告工具,将在宽屏显示器和上网本上使用。该站点已完成,除了可以从(非常)宽屏格式很好地降级为窄(上网本)格式的样式表。 这是它在宽屏上的显示方式:
我正在尝试部署我的 RoR 应用程序。当 RAILS_ENV 设置为开发时,它似乎在我的开发机器上运行良好。但是,当我将它放在生产服务器上并将其设置为生产模式时,导航到起始页后出现以下错误: => B
我正在读这个page并遇到了这段代码: {% if form.posted_successfully? %} {{ 'contact.form.post_success' | t
我正在开发 google chrome 扩展程序。我使用 Liquid slider 来帮助我处理弹出窗口,当我在括号中并进行实时预览时,我得到了我想要的结果。 https://gyazo.com/d
我在 jekyll 中学习 liquid,但我很难按月获取帖子数量。计算每个标签或类别的帖子数量似乎很容易(因为有变量 site.tags 和 site.categories),我没有问题。这是 my
我很难将外部 jQuery 库集成到我自己的 liquid 页面中。我想用 CDN 加载它。 在 theme.liquid 页面上,我以这种方式加载 Javascript: {{ 'spot-the
我是一名优秀的程序员,十分优秀!