2013-05-30 17 views
-3

我的朋友開發人員有一個HTML電子郵件的問題。我在郵件應用程序中看到的一個大問題是一個很大的利潤空間 - 他沒有放入CSS和兩個小利潤率(右邊和左邊),html邊距爲0;在郵件和其他客戶端上的HTML電子郵件大邊緣頂部

你有什麼建議嗎?

非常感謝。

<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> 
+0

我的名字是諾查丹瑪斯,我可以預測你的朋友有這個問題,因爲他錯過了一些元素的邊距或填充。這個元素是什麼我不知道,因爲你沒有給我提供任何代碼。我的建議是請審查:http://stackoverflow.com/questions/how-to-ask有關如何提出一個問題,可以真正回答正確的詳細信息。謝謝。 – Michael

+0

對不起,我忘了發佈代碼!現在完成了.. – Alessandro

回答

0

佈局看起來不錯。上面有一個圖像,它有一個相對鏈接,可能不會顯示 - 這可能是您所指的「邊緣頂部」?

相關問題