Member Login



Forgot your Password?
Become a Member

 

 
Advanced Search
   
 
Tables vs Div’s
Posted: 25 August 2009 12:51 PM   [ Ignore ]  
Newbie
Rank
Total Posts:  1
Joined  2009-08-24

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.

Profile
 
 
Posted: 26 August 2009 12:19 PM   [ Ignore ]   [ # 1 ]  
Administrator
Avatar
Rank
Total Posts:  23
Joined  2009-03-04

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!  For a good example of what we mean by unwanted image spacing, checkout this post: http://www.emailonacid.com/create-html-email/details/C13/hotmail-style

Profile