Community Forum

Over the years we have built up a community of email marketers, coders and designers that live and breathe email.

Use the Email on Acid Forum like your virtual water cooler: Stop by to discuss email code, quirky clients and fixes and post your issues (with an example of the code) for our community to offer its assistance.

Tables vs Div’s


Total Posts:  1
Posted: 25 August 2009 06:51 PM

In my biz we have to support a lot of older email clients. Is there a real reason to use div’s over tables when it comes to emails? Seems so much easier to use tables.



Total Posts:  43
Posted: 26 August 2009 06:19 PM
[ # 1 ]

It’s certainly a safe assumption to use tables because they are universally supported in all the popular clients. 

However, some people may not realize that divs are fairly well supported as well and in certain circumstances, div’s can make life a whole lot easier!  For example clean borders, margins, and padding are easier to achieve using divs.

We actually recommend a mix between the two depending on your design and layout. 

Just be aware of one thing: You are NOT always safe when using basic tables nor divs.  This is due to the fact that several clients use default style sheets that may add unwanted margins or image spacing to your layout. In those circumstances it is best to use inline styles to override the default css.

It’s always good to test no matter how simple you think your design is!