TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Responsive HTML Emails: a Different Strategy

107 点作者 kevingessner超过 11 年前

7 条评论

blowski超过 11 年前
At TechHub more than half our emails are opened on mobile (and mostly on iPhones, although there is some selective bias in there because of default image display settings). So mobile-first makes sense in every way.<p>&gt; We began by asking, what layouts work well on mobile? The answer for us was to think “single column.”<p>This is nearly always the case. You can include pictures, and then use `align=&quot;right&quot;` (or left) to make text float round the picture. You can use media queries to hide the picture entirely on mobile.<p>You can also use two buttons, one for mobile (which stretches to 100% width and more height) and one for desktop.<p>We use Litmus (<a href="http://litmus.com" rel="nofollow">http:&#x2F;&#x2F;litmus.com</a>) to render test everything.<p>I have a strange love for coding HTML emails, so if I can help anyone with a bit of free advice, feel free to ask. @blowski
评论 #6656456 未加载
评论 #6656589 未加载
Tharkun超过 11 年前
E-mail has always been responsive: use plain text. Keep your images and your fancy graphical jibberjabber on the www and out of my mailbox. Kthxbai.
Demiurge超过 11 年前
Why can&#x27;t emails just be text :(
评论 #6656333 未加载
评论 #6658418 未加载
评论 #6658433 未加载
评论 #6656555 未加载
评论 #6656531 未加载
ecesena超过 11 年前
Awesome, thanks! There should be more about responsive emails, both in terms of information and default templates.<p>One of the bests to my knowledge is by Zurb [1], but the lack for Outlook support makes it almost unusable (at least for us). We ended up hacking from &quot;the bigs&quot; (Twitter, Facebook, Linkedin), although at the very beginning their templates also had issues here and there.<p>This said, testing on so many devices is a pain... email services like Mailchimp or Mailup should definitely add tools for that! (anyone listening? ;)<p>[1] <a href="http://zurb.com/playground/responsive-email-templates" rel="nofollow">http:&#x2F;&#x2F;zurb.com&#x2F;playground&#x2F;responsive-email-templates</a>
评论 #6658072 未加载
评论 #6656461 未加载
评论 #6658210 未加载
GrinningFool超过 11 年前
OT - minor pet peeve: When did &quot;responsive&quot; become synonymous with &quot;handle different screen layouts gracefully&quot; vs &quot;responsive to the user&quot;?
评论 #6657671 未加载
评论 #6656540 未加载
sergiotapia超过 11 年前
HTML Emails are a can of worms I always postpone learning about. It&#x27;s a learned skill that takes time to perfect and more often than not if the design is complex I deffer to a more specialized developer.<p>I wish all email clients behaved properly and used their browser counterpart&#x27;s engine.<p>Meaning, Outlook would use IE9 or 10 render engine, et al.
monsterix超过 11 年前
Nice post!<p>Another challenge on mobile is that most of the times images&#x2F; background-images aren&#x27;t served at all. So as long as there is just text and style on your email this strategy would just work. The moment you decide to step-up the visuals, you&#x27;d start thinking why the hell does the world still use email at all?
评论 #6656418 未加载