How to make a responsive grid in Outlook 2007?

时光怂恿深爱的人放手 提交于 2019-12-06 15:08:43

Outlook 2007+ doesn't support floating elements

In the above code, each grid element is an HTML table with the following inline styles:

float:left;
display:inline-block;

Email reader support

  • float isn't supported by Outlook 2007+, Gmail
  • display isn't supported by Outlook 2007+

Layout options

Non-responsive layout

  • Put each grid element in a separate table cell.

Responsive layout

  • Put each grid element in the same table cell (which they currently are), and add align="left" to each grid element.

HTML

<table width="560" align="center">
    <tr>
        <td align="center">

            <!-- Each grid element -->
            <table width="178" align="left">...</table>
            <table width="178" align="left">...</table>
            <table width="178" align="left">...</table>
        </td>
    </tr>
</table>                  

I tested this with some success in Outlook 2007/2010/2013 using Litmus.

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