전자 메일 용 HTML을 처음 코딩합니다. 나를 안내하는 튜토리얼을 보았지만 문제를 해결할 수있는 방법을 모르겠습니다. 원래. 내 모든 코드는 <table>
안에 있습니다. 페이지 끝 부분에서 바닥 글은 <table>
입니다. 그러나 나는 결과가 이메일 안에 항상있는 위치에 대한 CSS 값을 변경하는 방법을 중요하지 않습니다전자 메일 용 HTML - CSS 위치 변경이 작동하지 않습니다.
문제는이 코드에 있습니다
<tr>
<table id="footer" border="0" align="center" cellpadding="0" cellspacing="0" width="100%" style="background-color: #fe3a35; opacity: 0.9">
<tr>
<td valign="top" align="center">
<p style="font-family: 'Arial'; font-size: 16px; font-weight: 300; text-align: center; position: relative; left: -163px; top: 35px; line-height: 2px; color: white;">® Someone, somewhere 2013</p>
<p style="font-family: 'Arial'; text-align: center; font-weight: 300;position: relative; left: -132px; top: 25px;ine-height: 2px; color: white;"><a href="" style="font-family: 'Arial'; color: white;">Unsubscribe</a> to this newsletter instantly</p>
<a href="https://twitter.com/realdonaldtrump" target="_blank" style="position: relative; left: 220px; top: -25px;"><img src="https://i.imgur.com/bgssIwP.png" width="30"></a>
<a href="https://www.facebook.com/gustavo.olegario" target="_blank" style="position: relative; left: 220px; top: -25px;"><img src="https://i.imgur.com/JQ19LU9.png" width="30"></a>
</td>
</tr>
</table>
</tr>
내가 것 실제로, 중간에있는 twitter 및 facebook 링크에 문자를 approximatte하는 것입니다.
이메일을 디자인하는 더 좋은 방법은 mailchimp 또는 캠페인 모니터를 사용하는 것입니다. 이메일은 골칫거리이며이 사람들은 걱정거리를 모두 없애 버릴 것입니다. –
내가 이해할 수있는 한, 모든 것을 중심에두고 싶습니까? 왜 당신은'position : relative'와 그 재즈를 모두 사용하고 있습니까? 그냥'text-align : center'를 사용하십시오. –
문제를 이해하지 못합니다. – wazz