如何创建为Android电子邮件,所以它适合屏幕/缩小就像iOS中/秤 [英] How to create emails for Android so it fits to screen / zooms out / scales like in iOS
问题描述
在显示在iOS与宽度比iOS版的分辨率较大的电子邮件,它巧妙地缩小以显示它在一个屏幕上。
When an email with width larger than the resolution of iOS is displayed on iOS, it smartly zooms out to show it in one screen.
我能做些什么与HTML邮件,以便它在Android这样做,以及像,而不是Android设备放大的吗?
What can I do with the HTML email so that it does so on Android as well instead of zooming in like Android devices do?
电子邮件与联CSS和表格创造最大化的东西,如Outlook和Gmail的兼容性。
The email is created with inline css and tables to maximize compatibility with things like Outlook and Gmail.
推荐答案
台式机一样的宽度在%覆盖整个宽度,以及苹果产品调整到了,然而,机器人需要在像素。所以做到这一点:
Desktops like width to be in % to cover the entire width, and Apple products adjust to that, however Androids need to be in px. So do this:
<body style='width:100%; min-width:600px; ' >....</body>
在移动设备上的Max-宽度应不小于600px的更大
Max-widths on mobile devices shouldn't be greater than 600px.
这篇关于如何创建为Android电子邮件,所以它适合屏幕/缩小就像iOS中/秤的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!