PDA

View Full Version : Stylesheet not working in HTML email


forgottenglory
11-22-2007, 06:16 PM
I want to send an HTML email using Microsoft Outlook. I have designed the page and used CSS to style it. Everything looks fine when viewed in the browser. However, when I open it in Outlook, the designed is flushed right (originally designed is centered on the page).

Furthermore, when I sent the HTML email to my Yahoo account, the stylesheet does not load at all despite having marked all the styles as '!important'.

Can somebody tell me what I'm doing wrong and how to solve the problem.

Thanks

VIPStephan
11-22-2007, 06:53 PM
Common search engines provide a great range of information about this issue, you just have to look for it.

A starting point: http://www.alistapart.com/articles/cssemail

forgottenglory
11-23-2007, 10:03 AM
Thanks for the link...it was very informative and has saved me a lot of time trying to fix the problem. I don't think its worth the hassle to use CSS in HTML email. I think I will unwilling resolve myself to building it my page with tables or worse, one huge jpeg!

Thanks again.