CSS: text-align-last doesn't work in HTML email

…衆ロ難τιáo~ 提交于 2019-12-25 04:19:40

问题


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>

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!


回答1:


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.

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.



来源:https://stackoverflow.com/questions/39117283/css-text-align-last-doesnt-work-in-html-email

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!