views:

166

answers:

4

Does the HTML/CSS for an html email newsletter need to be in table format, or can I use DIVs with equal assurance it will display well cross email-client? I've downloaded a number of templates to see how they're done, upon which to base my own, and they all seem to use tables.

Any insight much appreciated, thanks!

+2  A: 

Many email-clients aren't able to render css. I would use tables to format your mail and use images for anything else.

FB55
You can't use images in emails by default; mail clients will block them until the user marks the sender as safe. Nearly all common clients do support limited inline CSS.
Rex M
Older clients doesn't, and many business-users still use them. And no, not every client doesn't shows images. It's just a step for additional security, but clients as the iPhone have no reason for blocking images.
FB55
A: 

you can use any html you like.

zed_0xff
+4  A: 

When it comes to email HTML, note that all best practices from web development goes out the window. To make the look consistent, you should:

  1. Use table based layouts
  2. Use the old-school attribute styling for tables
  3. Use ONLY inline-styles, and only very simple such. <style>-tags are discarded by many clients.
  4. Skip using <html>, <head> and <body> - They will be discarded by most clients anyway.
  5. If you embed images, try to make sure that the e-mail looks decent even if images are not loaded. Many clients require the user to mark the email as "safe" before displaying images.

You can read more detailed versions of the above points here:

PatrikAkerstrand
This is so true. Outlook 2007 is one of the worst of them all (and most are pretty bad...).
Max
A: 

This is incredibly comprehensive:

http://resources.mailchimp.com/email-marketing-field-guide

j-man86