Note that there are some explanatory texts on larger screens.

plurals
  1. PO<!--[if !IE]> not working
    primarykey
    data
    text
    <p>I'm having trouble getting </p> <pre><code>&lt;!--[if !IE]&gt; </code></pre> <p>to work. I'm wondering if it is because I have this in my document </p> <pre><code>&lt;!doctype html&gt; &lt;!--[if lt IE 7]&gt; &lt;html class="ie6 oldie"&gt; &lt;![endif]--&gt; &lt;!--[if IE 7]&gt; &lt;html class="ie7 oldie"&gt; &lt;![endif]--&gt; &lt;!--[if IE 8]&gt; &lt;html class="ie8 oldie"&gt; &lt;![endif]--&gt; &lt;!--[if gt IE 8]&gt;&lt;!--&gt; &lt;html class=""&gt; &lt;!--&lt;![endif]--&gt; </code></pre> <p>When I add </p> <pre><code>&lt;!--[if !IE]&gt;&lt;!--&gt; &lt;link type="text/css" rel="stylesheet" href="/stylesheets/no-ie.css" /&gt; &lt;!--&lt;![endif]--&gt; </code></pre> <p>to my header for some reason it doesn't work. However if I add </p> <pre><code>&lt;!--[if !IE]&gt;&lt;!--&gt; &lt;style&gt; All my css in here &lt;/style&gt; &lt;!--&lt;![endif]--&gt; </code></pre> <p>to the actual html page (in the header) it works. Any suggestions? Cheers </p> <p>Update to my question</p> <p>Ok, when I removed <code>&lt;!--&gt;</code>I only checked in IE which was working but now back in FF the no-ie.css had been applied to FF too. So I added back in the <code>&lt;!--&gt;</code>and removed the / (and added that into the main template so the cms wouldn't add it back in) and all is working back in FF but now the stylesheet is being applied to IE! So I tried</p> <pre><code>&lt;!--[if IE]&gt; &lt;link type="text/css" rel="stylesheet" href="/stylesheets/no-ie.css"&gt; &lt;![endif]--&gt; </code></pre> <p>and </p> <pre><code>&lt;!--[if !IE]&gt; --&gt; &lt;link type="text/css" rel="stylesheet" href="/stylesheets/no-ie.css"&gt; &lt;!-- &lt;![endif]--&gt; </code></pre> <p>And that didn't work. Basically I'm trying to get this page to work <a href="http://css-tricks.com/examples/ResponsiveTables/responsive.php" rel="noreferrer">http://css-tricks.com/examples/ResponsiveTables/responsive.php</a> but move the css into a stylesheet. Surely it's got to be simple. What am I missing? I'd rather not use JQuery if I don't have to. Cheers</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

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