Many Web designers use Cascading Style Sheets (CSS) to simplify the coding process and ensure a consistent style throughout a Website. Use of CSS in HTML emails can be problematic, however, as many email clients will not render style sheets correctly.
Here is a handy reference on whether an email client renders certain types of style sheets correctly.
Avoid using CSS if possible; but if you must use them, choose the embedded styles also known as ‘inline’. Embed the style within the two container tags and not within the header because some email clients will truncate or strip out the header.
So, add the style within the body tags, like this:
Here is a handy reference on whether an email client renders certain types of style sheets correctly.
Avoid using CSS if possible; but if you must use them, choose the embedded styles also known as ‘inline’. Embed the style within the two container tags and not within the header because some email clients will truncate or strip out the header.
So, add the style within the body tags, like this:
Main Text
No comments:
Post a Comment