|
Posted by Chris Beall on 10/14/15 11:23
amerar@iwc.net wrote:
> Hi All,
>
> I have this CSS that I use in one of my emails. When I view the email
> in Netscape, the style sheet looks fine and the page comes out
> fine.......
>
> However, when I view the email using Yahoo, or Hotmail, or any of the
> web based emails, it gets totally screwed. Anyone know why this is?
(snip CSS)
Most likely the problem is that Yahoo and Hotmail are displaying your
e-mail within a context that they have set up, i.e. it's imbedded within
their own banners, divs, etc. Something in your e-mail isn't compatible
with that context. Determining the exact cause could require analysis
of their page structure, and there's no guarantee they won't change it,
nor that there aren't other web-based e-mail clients that do something
different.
You could also fix the following errors reported by the validator at
http://jigsaw.w3.org/css-validator/:
* Line: 50 Context : #idDivTitle1a
Parse Error - color=#000000, direction=135)
* Line: 108 Context : .TailArea
Invalid number : background-color attempt to find a semi-colon
before the property name. add it
The easiest solution is to use plain text in your e-mail and leave HTML
for web pages, where you have greater control of the environment. If
your message just can't be expressed in words alone, the e-mail could
contain a link that takes the recipient to a corresponding web page.
Cheers,
Chris Beall
Navigation:
[Reply to this message]
|