[英]Gmail Client for android doesn't apply my css style to email
I'm creating a newsletter, in iOS phone it's OK, but in gmail view the style of p
is ignored. 我正在创建新闻通讯,在iOS手机中可以,但是在gmail视图中,
p
的样式将被忽略。 Can you help me to resolve this problem?` 您能帮我解决这个问题吗?
<tr>
<td >
<table width="100%">
<tr>
<td style="text-align: center; align:center">
<p style="margin 0; display:inline-block; font-size: 0.6em; font-family: Arial, sans serif; color:#999999; padding: 5px; line-height: 1.2em; color: #959595;">
<b>Se desideri contattarci puoi scriverci a
<a href="mailto:digitallieracphyto@alesgroupe.it" target="_blank" style="color:#818181;">
digitallieracphyto@alesgroupe.it
</a><br>
</b>
Se ricevi questa email è perchè hai eseguito la registrazione sul nostro sito o tramite uno dei nostri servizi e hai dato il consenso a ricevere comunicazioni email da parte nostra.
Se non desideri ricevere più la newsletter o comunicazioni da parte di Lierac clicca sui link in fondo per <a href="#" style="color: #959595">disiscriverti</a>.
</p>
</td>
</tr>
</table>
</td>
</tr>
You have committed an error in style attribute! 您在样式属性中犯了一个错误!
Change this: 更改此:
<p style="margin 0; display:inline-block; font-size: 0.6em; font-family: Arial, sans serif; color:#999999; padding: 5px; line-height: 1.2em; color: #959595;">
with this: 有了这个:
<p style="margin: 0; display:inline-block; font-size: 0.6em; font-family: Arial, sans serif; color:#999999; padding: 5px; line-height: 1.2em; color: #959595;">
you forgot the two points at the margin! 您忘记了边际上的两点!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.