Html email looking different in Gmail app

前端 未结 1 1619
盖世英雄少女心
盖世英雄少女心 2020-12-22 05:40

I\'m not really used to making html emails. Of course I have to start out making a responsive one in basically two versions of the same email. When I thought I had it done f

1条回答
  •  独厮守ぢ
    2020-12-22 06:27

    When you use align="left" on the tables, it is like floating left in CSS. This is what Gmail is doing, it is floating your text table, causing it to overflow (pop down) below your image table.

    If you want your text within the tables to align, put it in the within those tables instead.

    Update:

    For responsive in html email, try using the display:block; toggle technique:

    
    
      
    
    
    
      
    Text here...

    This will be ignored by Gmail as it strips the style tag, leaving the default non-responsive layout.

    0 讨论(0)
提交回复
热议问题