Answer the question
In order to leave comments, you need to log in
How to fix conditional comments in outlook going down?
Now I'm looking for a way to display letters normally for both outlook and other browsers.
Fully imposition with pictures does not fit, and if you do it normally , then outlook rejects it.
And so I got the idea to combine both options through a conditional comment in html
Attempt # 1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Test MSO</title>
</head>
<body>
<!--[if mso]>
mso
<![endif]-->
<!--[if !IE]><!-->
!mso
<!--<![endif]-->
</body>
</html>
Output two options in Outlook
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Test MSO</title>
</head>
<body>
<!--[if mso]>
mso
<![endif]-->
<!--[if !mso]><div style="display:none;"><![endif]-->
!mso
<!--[if mso]></div><![endif]-->
</body>
</html>
Again output two options in Outlook...
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
!mso
<title>Test MSO</title>
<!--[if mso]>
mso
<![endif]--><!--[if mso]><div style="display:none;"><![endif]--><!--[if mso]></div><![endif]-->
</body>
</html>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question