CSS:text-align-last在HTML电子邮件中不起作用 [英] CSS: text-align-last doesn't work in HTML email

查看:79
本文介绍了CSS:text-align-last在HTML电子邮件中不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道这里是否有人尝试在HTML电子邮件中使用text-align-last。我已经使用了这段代码,但是它们根本无法在HTML电子邮件中使用:

I'm wondering if someone here has try to use text-align-last in HTML email. I have used this code and they're not working at all in HTML email :

<p style="text-align:justify; text-align-last:center;">This is the long text you see. This is the long text you see. This is the long text you see.</p>

已经使用-moz,-webkit,-ms,并且还是行不通。我已经搜索了答案,但仍然找不到为什么它不起作用。请帮忙,非常感谢!

Already use -moz, -webkit, -ms, and it's still not working. I have searched the answers and still didn't find why it's not working. Please help, thanks a lot!

推荐答案

text-align-last 在电子邮件客户端中不受广泛支持它可能在Apple Mail和iOS Mail,但使用 text-align-last 不太可能得到很好的报道。

text-align-last is not widely supported in email clients. It might work in Apple Mail and iOS Mail, but you're unlikely to get good coverage using text-align-last.

但是 text-align 到处都受支持。根据您要完成的工作,可能会有另一种方式来实现这种文本对齐方式。

However text-align is supported everywhere. Depending on what you're trying to accomplish, there could be another way to achieve this type of text-alignment.

这篇关于CSS:text-align-last在HTML电子邮件中不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆