HTML Email using CSS

后端 未结 6 1905
-上瘾入骨i
-上瘾入骨i 2020-12-17 06:32

I\'m trying to build an HTML email using DIVs instead of tables, and I\'m quite new to CSS.

What I\'m trying to achieve would look something like:

**         


        
6条回答
  •  北荒
    北荒 (楼主)
    2020-12-17 07:03

    Emails is one of those places where whatever notion you have of good practices for layout should be thrown out the window. Many, many email providers filter out any CSS rules you throw in, so the best thing to do if you absolutely want a "complicated" layout in your email is to stick to old school tables, as they will bring you the closest to your emails being delivered properly to all your users.

提交回复
热议问题