WebAIM - Web Accessibility In Mind

E-mail List Archives

RE: HTML emails!

for

From: John Foliot - WATS.ca
Date: Nov 4, 2003 7:21AM


Hi Jake.

I manage a weekly HTML rich newsletter which employs inline style sheets.
The thing to remember with HTML rich emails is to always reference items
such as your images absolutely:
<.style type="text/css">
h1 {background-image :
url(http://www.yoursite.com/images/headlineblank.jpg);}
</style>

To address users with non-HTML email clients, I actually repeat the content
twice... the first time non-formatted (using HTML comment tags), the second
formatted:

<!--
THE NEWSLETTER

Blah, blah, blah; yada yada yada
-->

<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html;">
<meta http-equiv="Robots" name="Robots" content="noindex,nofollow" />
<style type="text/css">...</style>
</head>
<body>
<h1>THE NEWSLETTER</h1>

<p>Blah, blah, blah; yada yada yada</p>

</body>
</html>

Hope this helps.

JF
--
John Foliot <EMAIL REMOVED>
Web Accessibility Specialist / Co-founder of WATS.ca
Web Accessibility Testing and Services
http://www.wats.ca 1.866.932.4878 (North America)


> -----Original Message-----
> From: FOX, Jake [mailto: <EMAIL REMOVED> ]
> Sent: Tuesday, November 04, 2003 7:39 AM
> To: <EMAIL REMOVED>
> Subject: Re: HTML emails!
>
>
> does anyone know if the usage of inline stylesheets within html should be
> avoided? or are they ways around making this practice accessible?
>
> -Jake.
>
>
> **********************************************************************
> This email and any files sent with it are intended only for the named
> recipient. If you are not the named recipient please telephone/email
> the sender immediately. You should not disclose the content or
> take/retain/distribute any copies.
> **********************************************************************
>
>
>
> Norwich Union Life & Pensions Limited
> Registered Office: 2 Rougier Street, York, YO90 1UU
> Registered in England Number 3253947
> A member of the Norwich Union Marketing Group
> Members of which are Authorised and Regulated by the Financial
> Services Authority.
>
> For further enquiries 01603 622200
>
>
> ----
> To subscribe, unsubscribe, suspend, or view list archives,
> visit http://www.webaim.org/discussion/
>
>
>
>



----
To subscribe, unsubscribe, suspend, or view list archives,
visit http://www.webaim.org/discussion/