0

i need to fix a bug which is breaking my layout in IE 11.

<!--[if IE]>
<![endif]-->

is not supported after IE 9.

Using java script is a least preferred method, is their another way to go about doing this?

1 Answers1

0

Conditional comments do not work in IE10/IE11.

I think the ideal solution is to understand why you need the IE detection, and work to find a solution that doesn't require any browser detection. IE11 is actually (and finally!) pretty good at modern web standards, so I think you don't need to detect it.

Irvin Dominin
  • 29,799
  • 9
  • 75
  • 107
  • 1
    I clearly said that it was not supported after IE 9, and i clearly said that it is breaking my Layout therefor i must say you did not read my description of my issue at all. Though IE11 is better than its predecessors, it does not mean it a 'pretty good webbrowser'. -1 – user3330630 Feb 24 '14 at 00:27
  • Agree, IE css engine don't update max-height property correctly over window resize. Had to do it with javascript, it is better, but still not good – nilveryboring Apr 03 '14 at 23:59