Gmail removes “position:relative” as inline CSS (Email Template)

前端 未结 2 1194
小鲜肉
小鲜肉 2020-12-20 12:05

From what I understand Gmail doesn\'t accept CSS blocks in the head at all, which is why I have been adding a bunch of inline CSS to my email template to make it work.

2条回答
  •  爱一瞬间的悲伤
    2020-12-20 12:38

    I experienced similar layout problems when sending email newsletters. The solution was to use tables to position things properly. It's dated, but I think it was the only way to make things look the way they should.

提交回复
热议问题