[thelist] CSS in HTML E-mail?

Max Schwanekamp lists at neptunewebworks.com
Thu Dec 15 11:03:11 CST 2005


Brian Cummiskey wrote:
> Asif Suria wrote:
>>The main problem I have
>>encountered is that the CSS in the HTML email
>>overrides some of Yahoo's CSS settings and can render
> This is easily avoided.  Simply make everything a unique class, or do it 
> locally.  It's only when you use globals like p,a,table, etc, will you 
> run into over-riding the web-mail client's page style.

One easy way to do it is to wrap everything within the html body in a 
wrapper div.  Heck, many of us do that for regular web pages anyway. 
Then when defining the global tags etc you just precede all selectors 
with (e.g.) #wrapper.

-- 
Max Schwanekamp
http://www.neptunewebworks.com/



More information about the thelist mailing list