Gmail is ignoring “display:none”

后端 未结 12 2140
旧巷少年郎
旧巷少年郎 2020-12-08 02:14

I have a query that Gmail is ignoring display:none.

What to do? In email HTML for hiding a row or div.

12条回答
  •  情书的邮戳
    2020-12-08 02:43

    Remove the element from your source code completely.

    E-Mail clients are very strict about some CSS rules. Also, seeing as no JavaScript can be executed inside the E-Mail, a display: none has no function there anyway, does it?

提交回复
热议问题