Compatibilidad CSS IE

Estoy usando lo siguiente CSS code which works perfect with Chrome pero no con IE navegadores

.collapse{
    display:block;
}
.collapse + input[type="checkbox"]{
  display:none;
}
.collapse + input[type="checkbox"] + *{
  display:none;
}
.collapse + input[type="checkbox"]:checked + *{
  display:block;
}

Sample Code [Fiddle] (http://jsfiddle.net/Zr5Nf/)

preguntado el 12 de febrero de 14 a las 05:02

which version of IE you are trying to support -

I tried both IE 10 and 11 -

please provide some more code .... Use fiddle -

Prensa F12 e ir a la Emulation Tab (Ctrl+8). Make sure that the mode of your browser is Document mode: Edge(Default), Browser profile: Desktop, User agent string: Default -

@Itay many thanks for your help, I just replaced the line <meta http-equiv="X-UA-Compatible" content="IE=8" /> a <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> -

1 Respuestas

@Itay many thanks for your help, I just replaced the line <meta http-equiv="X-UA-Compatible" content="IE=8" /> a <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />

Respondido 12 Feb 14, 09:02

You're welcome. If you have published this piece of code earlier, we could have helped you faster :) - Itay

No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas or haz tu propia pregunta.