Compatibilidad CSS IE
Frecuentes
Visto 63 equipos
0
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/)
1 Respuestas
2
@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 css internet-explorer google-chrome or haz tu propia pregunta.
which version of IE you are trying to support - Shiva
I tried both IE 10 and 11 - user2079954
please provide some more code .... Use fiddle - The Hungry Dictator
Prensa
F12
e ir a laEmulation
Tab (Ctrl+8). Make sure that the mode of your browser isDocument mode: Edge(Default), Browser profile: Desktop, User agent string: Default
- Itay@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" />
- user2079954