Tag Archives: IE

How to target Windows 10 Edge browser with javascript (with objectfit example usage)

Detects all versions of IE including the latest version of Windows 10 Edge.  It also detects for modernizr.  My example below uses Modernizr to replace the unsupported objectfit CSS property in IE.  It gets replaced with a background image. <script> // Execute this if IE is detected. function msieversion() { var ua = window.navigator.userAgent; var […]

css – Apply style ONLY on IE – Stack Overflow

Lifesaver for getting web pages to work in IE.  Browser and Version specific CSS media queries. Source: css – Apply style ONLY on IE – Stack Overflow