我有一个事件状态下拉菜单设置为:
display: flex;
display: -webkit-box;
display: -ms-flexbox;
适用于所有浏览器,但在 Internet Explorer 中 - 背景颜色在第一个元素后停止。
无法弄清楚这里的问题是什么。
http://soakandswim.com/pools/inground --> 这是网站 任何见解表示赞赏!!
最佳答案
这些不是css2的部分,它们是在css3中引入的
所以不能在旧版本的 IE (6,7,8) 中工作
和
display: flex; // is not supported in older IE version
display: -webkit-box; // is for chrome not IE
display: -ms-flexbox; // is not supported in older IE version
对于 IE 11,我在实践中看到它正在使用 IE7 的一些属性,可能是它们正在使用 IE 7 渲染引擎的某些部分而不是 IE 8/9/10。我遇到了一些问题,比如 display , float 所以你也应该看看文档。 IE 1!
更多引用请访问:link
关于CSS 显示类在 Internet Explorer 中不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22565353/