I read somewhere that when creating a HTML email, you should use the table-based layout. You should not care about creating tableless css based layout. Is that true? I have to create a newsletter layout for my company, but I dont feel confortable writing 3 nested tables.
HTML tables were originally intended to be used for presenting tabular data, not for layout. The World Wide Web Consortium (W3C®) discourages use of tables for layout because they are striving for a web in which content and structure are completely separate from presentation.
1) Tables shouldn't be used for page layouts because they are: Slow to render as the browser needs to download most - if not all - of the table to render it properly. They require more HTML than non-table layouts which means slower loading and rendering, as well as an increased bandwidth usage.
So, you can code some of your emails using modern CSS. But if you need to support most versions of Microsoft Outlook, you'll need to use some form of tables, too, if you want your email to look reasonably good. The one exception to this rule is if you're using plain text emails, which don't use HTML and CSS at all.
As different email service providers have different policy to HTML emails and CSS, it is safer to use HTML table as layout in emails, as CSS (even with inline CSS) may be blocked / filtered, or even worse, half-blocked.
If you want your HTML-email to look good in most email clients, you should write your HTML as it still was 1999 :)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With