html简报在电子邮件中无法正常工作

时间:2014-02-19 15:34:30

标签: html newsletter

嗨我有一个简单的横幅,可以在电子邮件中作为签名发送。但这不起作用。我从hotmail发送,并在签名中添加html代码。但链接也不起作用,有时布局令人不安。这是我的代码

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Untitled Document</title>
</head>

<body style="margin:0; padding:0;">
<table style="margin:0; padding:0;"><tr style="margin:0; padding:0;"><td style="margin:0;" background="http://work.zatechno.com/artzone/background.png" bgcolor="#7bceeb" width="1232" height="195" valign="top">
          <!--[if gte mso 9]>
          <v:rect xmlns:v="urn:schemas-microsoft-com:vml" fill="true" stroke="false" style="width:1232px;height:196px;">
            <v:fill type="tile" src="http://work.zatechno.com/artzone/background.png" color="#7bceeb" />
            <v:textbox inset="0,0,0,0">
          <![endif]--><div style="float:left; margin:100px 0 0 470px; padding:0; position:relative; width:504px; height:94px;">
        <div style="float:left; width:242px; height:100%; position:relative">
            <a href="#" style="float:left; margin:12px 0 0 7px;"><img src="http://work.zatechno.com/artzone/location.png" alt="" style="float:left" /></a>
            <div style="clear:both; width:100%; height:1px; float:left"></div>
            <a href="#" style="float:left; margin:8px 0 0 4px;"><img src="http://work.zatechno.com/artzone/website.png" alt="" style="float:left" /></a>
            <div style="clear:both; width:100%; height:1px; float:left"></div>
            <a href="#" style="float:left; margin:12px 0 0 6px;"><img src="http://work.zatechno.com/artzone/email.png" alt="" style="float:left" /></a>
        </div>

        <div style="float:right; width:255px; height:100%; position:relative">
            <a href="#" style="float:left; margin:12px 0 0 9px;"><img src="http://work.zatechno.com/artzone/phone.png" alt="" style="float:left" /></a>
            <div style="clear:both; width:100%; height:1px; float:left"></div>
            <a href="#" style="float:left; margin:10px 0 0 6px;"><img src="http://work.zatechno.com/artzone/social.png" alt="" style="float:left" /></a>
            <div style="clear:both; width:100%; height:1px; float:left"></div>
            <a href="#" style="float:left; margin:12px 0 0 42px; padding:0;"><img src="http://work.zatechno.com/artzone/youtube.png" alt="" /></a>
            <a href="#" style="float:left; margin:12px 0 0 21px; padding:0;"><img src="http://work.zatechno.com/artzone/facebook.png" alt="" /></a>
            <a href="#" style="float:left; margin:11px 0 0 20px; padding:0;"><img src="http://work.zatechno.com/artzone/twitter.png" alt="" /></a>
            <a href="#" style="float:left; margin:11px 0 0 21px; padding:0;"><img src="http://work.zatechno.com/artzone/linkedin.png" alt="" /></a>
            <a href="#" style="float:left; margin:12px 0 0 23px; padding:0;"><img src="http://work.zatechno.com/artzone/instagram.png" alt="" /></a>
        </div>

    </div>
          <!--[if gte mso 9]>
            </v:textbox>
          </v:rect>
          <![endif]--></td></tr></table>
</body>
</html>

1 个答案:

答案 0 :(得分:0)

哪些电子邮件代理失败了以及如何?也许你可以添加一两个屏幕。我担心你需要默认基于表格的布局。电子邮件代理的HTML呈现功能可能相当有限,您最好的选择是尽可能保持简单。