Skip to main content

Timeline for Magento2 CSS IE hacks

Current License: CC BY-SA 3.0

13 events
when toggle format what by license comment
Jul 18, 2019 at 8:22 comment added Jafar Pinjar @BartłomiejSzubert, okay that's fine
Jul 18, 2019 at 8:17 comment added Bartłomiej Szubert @jafarpinjar it seems that such hack is implemented only in IE up to 9. Check this out: stackoverflow.com/questions/20541306/… - this doesn't seem to be issue with solution added here but limitation in IE11 itself
Jul 18, 2019 at 8:05 comment added Jafar Pinjar @BartłomiejSzubert, I need to load the file in IE 11, so i given <css src="css/ie-8.css" ie_condition="IE 11" /> which is not loading where <css src="css/ie-8.css" ie_condition="IE 9" /> is working fine
Jul 18, 2019 at 8:04 comment added Bartłomiej Szubert @jafarpinjar this is how it works for IE, such scripts are wrapped in comments with condition, and if this condition results in true then browser loads such file
Jul 17, 2019 at 7:49 comment added Jafar Pinjar @BartłomiejSzubert, css file is not loading instead it shows as commented..
Jul 17, 2019 at 7:46 comment added Jafar Pinjar @BartłomiejSzubert, This didn't work for me, even in IE also its not loading.. I added like below, <css src="css/ie_styles.css" ie_condition="IE" />
Nov 29, 2018 at 16:23 comment added Rick In what file do we need to add this code?
Mar 3, 2017 at 10:20 comment added Bartłomiej Szubert Try with ie_condition=!IE'
Mar 3, 2017 at 9:47 comment added Waqar How can we remove a CSS file from all IE broesers?
Apr 22, 2016 at 6:36 comment added huzefam Worked like a charm!!
Apr 22, 2016 at 6:35 vote accept huzefam
Apr 22, 2016 at 6:22 comment added Amit Bera Good.. let me check
Apr 22, 2016 at 6:17 history answered Bartłomiej Szubert CC BY-SA 3.0