Note that there are some explanatory texts on larger screens.

plurals
  1. POHiding an HTML email element in Windows Mobile 7.8
    text
    copied!<p>I'm trying to find a conditional comment or some method of hiding an HTML block in an HTML email on Windows Mobile 7.8. I ran a battery of tests with Windows Mobile 7.8 and iPhone 7 attempting to find one that would show on the iPhone but not on the Windows Phone. I've found a lot of documentation on hiding on Windows Mobile 7.5 but nothing for 7.8.</p> <p>The results of my test are below but are as of yet unresolved.</p> <hr> <p><strong>20 Conditional comment tests testing Windows Mobile 7.8 and iPhone 7.</strong></p> <ul> <li>N = Not displayed</li> <li>Y = Displayed</li> <li>Resolution = N | Y</li> </ul> <p><em>Test # - Windows | iPhone - Attempt</em></p> <pre><code> &lt;br&gt;T1 - N | N - &lt;!--[if IEMobile]&gt;&lt;p&gt;This is IEMobile&lt;/p&gt; &lt;[endif]--&gt; &lt;br&gt;T2 - Y | Y - &lt;[if !IEMobile]&gt; All other browsers but on Windows Phone 7.&lt;![endif]&gt; &lt;br&gt;T3 - N | N - &lt;!--[if IE]&gt;&lt;p&gt;You are using Internet Explorer.&lt;/p&gt;&lt;![endif]--&gt; &lt;br&gt;T4 - Y | Y - &lt;![if !IE]&gt;&lt;p&gt;You are not using Internet Explorer.&lt;/p&gt;&lt;![endif]&gt; &lt;br&gt;T5 - N | N - &lt;!--[if IE 7]&gt;&lt;p&gt;Welcome to Internet Explorer 7!&lt;/p&gt;&lt;![endif]--&gt; &lt;br&gt;T6 - N | N - &lt;!--[if !(IE 7)]&gt;&lt;p&gt;You are not using version 7.&lt;/p&gt;&lt;![endif]--&gt; &lt;br&gt;T7 - N | N - &lt;!--[if gte IE 7]&gt;&lt;p&gt;You are using IE 7 or greater.&lt;/p&gt;&lt;![endif]--&gt; &lt;br&gt;T8 - N | N - &lt;!--[if (IE 5)]&gt;&lt;p&gt;You are using IE 5 (any version).&lt;/p&gt;&lt;![endif]--&gt; &lt;br&gt;T9 - N | N - &lt;!--[if (gte IE 5.5)&amp;(lt IE 7)]&gt;&lt;p&gt;You are using IE 5.5 or IE 6.&lt;/p&gt;&lt;![endif]--&gt; &lt;br&gt;T10 - N | N - &lt;!--[if lt IE 5.5]&gt;&lt;p&gt;Please upgrade your version of Internet Explorer.&lt;/p&gt;&lt;![endif]--&gt; &lt;br&gt;T11 - N | N - &lt;!--[if true]&gt;You are using an &lt;em&gt;uplevel&lt;/em&gt; browser.&lt;![endif]--&gt; &lt;br&gt;T12 - Y | Y - &lt;![if false]&gt;You are using a &lt;em&gt;downlevel&lt;/em&gt; browser.&lt;![endif]&gt; &lt;br&gt;T13 - N | N - &lt;!--[if true]&gt;&lt;![if IE 7]&gt;&lt;p&gt;This nested comment is displayed in IE 7.&lt;/p&gt;&lt;![endif]&gt;&lt;![endif]--&gt; &lt;br&gt;T14 - N | N - &lt;!--[if (lt IE 9)&amp;(!IEMobile)]&gt;If less than IE 9 and not IE Mobile&lt;![endif]--&gt; &lt;br&gt;T15 - Y | Y - &lt;!--[if !IE]&gt;If not IE&lt;![endif]--&gt; &lt;br&gt;T16 - Y | Y - &lt;!--[if !lt IE 7]&gt;&lt;![IGNORE[--&gt;&lt;![IGNORE[]]&gt;If not less than IE 7&lt;!--&lt;![endif]--&gt; &lt;br&gt;T17 - N | N - &lt;!--[if !lt IE 7]&gt;If not less than IE 7&lt;!--&lt;![endif]--&gt; &lt;br&gt;T18 - N | N - &lt;!--[if IE]&gt;If IE&lt;![endif]--&gt; &lt;br&gt;T19 - Y | Y - &lt;!--[if !IE]&gt;--&gt;&lt;![IGNORE[--&gt;&lt;![IGNORE[]]&gt;If not IE&lt;!--&lt;![endif]--&gt; &lt;br&gt;T20 - N | N - &lt;!--[if IEMobile]&gt;Only IE Mobile on Windows Phone 7&lt;![endif]--&gt; </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload