TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Responsive HTML Emails: a Different Strategy

107 pointsby kevingessnerover 11 years ago

7 comments

blowskiover 11 years ago
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 未加载
Tharkunover 11 years ago
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.
Demiurgeover 11 years ago
Why can&#x27;t emails just be text :(
评论 #6656333 未加载
评论 #6658418 未加载
评论 #6658433 未加载
评论 #6656555 未加载
评论 #6656531 未加载
ecesenaover 11 years ago
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 未加载
GrinningFoolover 11 years ago
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 未加载
sergiotapiaover 11 years ago
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.
monsterixover 11 years ago
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 未加载