-3

私の友人の開発者は、HTML メールに問題があります。私のメールアプリで見られる大きな問題は、彼が css に入れなかった大きなマージントップと、html マージンの 2 つの小さなマージン (右と左) です: 0;

何か提案はありますか?

どうもありがとうございました。

<html>
<head>
<style type="text/css">
html,body{margin:0;padding:0; background-color:#f6f6f6}
table { width: 100%; height: 100%; }
span{font-family:Helvetica, Arial, sans-serif; line-height:1.7em;}
</style>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Documento senza titolo</title>
</head>

<body>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0"    bgcolor="#f6f6f6">
<tr height="95px" valign="middle" >
    <td width="100%" align="left" style="padding:15px"><img src="logo_email.png" width="154" height="46" alt="good" /></td>
</tr>
<tr bgcolor="#eeeeee" height="95px" valign="middle">
    <td width="100%" colspan="2" style="padding:15px"><span style="font-size:18px;color:#414042">Thank you for subscribe our newsletter.</span><br /><span style="font-size:13px;color:#414042">The Team</span></td>
</tr>
<tr height="auto" valign="top">
    <td width="100%" colspan="2" style="padding:15px"><span style="font-size:10px;color:#6d6e71">You are receiving Activity Notifications emails.</span></td>
</tr>

</table>
</body>
</html>
4

1 に答える 1

0

レイアウトは良さそうです。相対リンクがあり、表示されていない可能性のある画像が一番上にあります。これは、あなたが言及している「マージントップ」でしょうか?

于 2013-05-30T19:21:07.250 に答える