You are here: Re: Quick CSS Question « HTML « IT news, forums, messages
Re: Quick CSS Question

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация