I've been sending an enews for my work for a while, with no problems.

This is what I was using for the doctype/char set (not sure if char set played a part in the new problem or not...)

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

Yesterday all I did was change some of the text within the email and in outlook (and whatever email client mac users use) the formatting for the text didn't work. It all came across bold looking without the correct font, etc.

When I completely removed the doctype, and checked it with outlook, it worked fine, so i sent the email out! but the mac users still got it in all bold.

I tried removing most all text within the tables and just adding a few words... and it was bold also. maybe the table is causing the problem? but if so how, i haven't changed them!

I'm baffled how all of a sudden I could have this problem!!

I finally decided to upload it to my personal website, and check the coding with w3.org and have changed it to their suggestions and it seems ok (just waiting to hear back from a mac user)

another interesting fact - i tried saving the email as a pdf.... and it looks normal!!

if i need to upload some code other than the doc type i will. i did notice when i finally checked it with w3.org and made the changes they suggested, the most noticable changes were they added some css for the tables that i wasn't using before that...

  • Outlook does not use HTML like browsers do and email with HTML does not work very well and definitely doesn't follow standards completely. Validation is always good but no guarantee it will fix anything. It's just a different animal altogether. Rob almost 8 years ago

5 answers

o.k.w 2355
1
point

Yes, I agree with Jens' recommendation to use HTML 4.01 Transitional or even totally omit it. Creating content for email is a tricky business as email clients are very inconsistent when it comes to rendering HTML content.

DocType aside, here's another great resource for Guide to CSS support in email clients in case you haven't read/bookmarked it.

Answered almost 8 years ago by o.k.w
0
points

Maybe you should try using a HTML 4.01 Transitional instead. I use that and it works better and is a more correct standard for the markup I use in the HTML-mail.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
Answered almost 8 years ago by Jens Hedqvist
0
points

this is what i changed to, and the boss still says its all bold on his mac.. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

does the char set have anything to do with it?

Answered almost 8 years ago by lucy owens
  • @lucy - The answer areas are for answers only. If you want to adjust your question, edit the original question. If you want to respond to someone's answer, do so in a comment. Abinadi Ayerdis almost 8 years ago
0
points

when i finally completely removed the doctype, it came thru just fine with outlook,... so i thought it was fixed... but not so on the boss's mac mail :(

thats why i did what w3 suggested... you would think that would have fixed it but i guess it just fixes it for web browsers.

Answered almost 8 years ago by lucy owens
0
points

and thanks for that link... i'm hoping i will get some insight there!!

Answered almost 8 years ago by lucy owens