Internet Explorer 11无法识别条件CSS

Nik*_*ola 2 css internet-explorer

我正在使自己成为一个小组合.在chrome,firefox和opera上,页脚没有任何问题,并且使用它会粘到底部

footer {
    position: absolute;
    left: 0;
    bottom: 0;
}
Run Code Online (Sandbox Code Playgroud)

但是,IE是特殊的,它不起作用.我能想到的最容易解决的问题只是暗示position: relativeIE.

所以我尝试使用:

<!--[if IE]>
<style type="text/css">
    footer { position: relative; }
</style>
<![endif]-->
Run Code Online (Sandbox Code Playgroud)

但我的IE不认识它(也尝试链接iefooter.css,没有结果).但是,如果我删除<!--[if IE]>所有浏览器获得相对位置,那么一定是IE的问题?我的版本是我认为的最新版本 - 11.0.9600.16521

该网站如下:www.hrusov.eu.IE上的漏洞内容发生在"大"页面上,如About meProjects

buggedfooter

Joh*_*VdR 5

从IE 10及以上的IE条件评论被微软删除.

我建议你重新编写你的CSS,它将适用于IE 10及更高版本.