相关疑难解决方法(0)

在浏览器窗口(或电子邮件客户端预览窗格)中居中HTML电子邮件内容的最佳方法是什么?

我通常使用CSS规则margin:0 auto和960容器作为基于标准浏览器的内容,但我是HTML电子邮件创建的新手,我有以下设计,我现在想要在浏览器窗口中居中,而不使用标准CSS .

http://static.helpcurenow.org/mockups/emails/2010/may-survey/survey.html

我似乎记得在某个地方看到它也可以通过将你的电子邮件表设计包装在一个外部表设置为width:100%text-align:center在tbody或类似的东西上使用一些内联样式来实现它?

这是最好的做法吗?

html-email css-tables

86
推荐指数
7
解决办法
16万
查看次数

Html 电子邮件对齐文本和图像

我在将图像与文本对齐时遇到问题。该问题仅出现在 Outlook 03,07 & 10 中。请参阅此图片以更好地了解我的问题:在此输入图像描述

这是我的代码:

<td valign="middle" style="color:#fff;  font-size:18px; padding-left:3%;" width="600" height="34" bgcolor="#1a292f">
    <span class="nonmobile_content">
        Onsdag
    </span>                         
    <span style="font-weight: bold">
        21.03
    </span>                     
    <span style="color:#87bcd8;">
        2013
    </span>                     
    <span style="color:#87bcd8;">
        uke 11
    </span>
    <span>
        <img src="retriever-logo-top.png" align="right">
    </span>
</td>
<td bgcolor="#1a292f">
    &nbsp;&nbsp;&nbsp;
</td>
Run Code Online (Sandbox Code Playgroud)

html css email outlook

3
推荐指数
1
解决办法
1万
查看次数

标签 统计

css ×1

css-tables ×1

email ×1

html ×1

html-email ×1

outlook ×1