[英]Why my visual interface doesn't work on IE 11 but yes it does in edge, chrome firefox etc.. display:flexbox could be the problem?
There is a lot of things in my web project that doesn't work on IE 11. I have tables inside of divs and that div have display: flex
inside.我的 web 项目中有很多东西在 IE 11 上不起作用。我在 div 中有表格,并且 div 在里面有display: flex
。 They are shown well on all platforms but IE 11. In IE 11 seems to have height: 1px due to I don't really reach to see the table well.它们在除 IE 11 之外的所有平台上都显示良好。在 IE 11 中似乎有 height: 1px,因为我并没有真正伸手去看桌子。
I have another div that owns a table that I set invisibility hidden calling a function at the beginning of the rendering (not static, just check a state and then apply or not if it should be hidden or not) and I had checked by logs that should be hidden and it still appears like the other table.我有另一个 div,它拥有一个表,我在渲染开始时调用了 function 设置了不可见性隐藏(不是 static,只需检查 Z9ED39E2EA931586B6A985A6942EF573E,然后通过日志检查是否应该隐藏或不应用)应该被隐藏,它仍然像另一个表一样出现。
I use this.myDivTableContent.style= 'visibility: hidden';
我使用this.myDivTableContent.style= 'visibility: hidden';
to hide it that works perfectly in all other browsers.隐藏它在所有其他浏览器中都能完美运行。
I don't know what I have done bad but since I decided to see how in IE 11 works is like all project visual interface will have to be changed if I want to make work on it.我不知道我做错了什么,但是自从我决定看看 IE 11 是如何工作的,如果我想在它上面工作,所有项目的视觉界面都必须改变。
I let you 2 pictures to see the diff with chrome and IE 11.我让你 2 张图片来查看 chrome 和 IE 11 的差异。
CHROME:铬合金:
display: flex is partially supported by IE11.
When in doubt, you can use the site: https://caniuse.com/#search=display%3Aflex如有疑问,您可以使用该网站: https://caniuse.com/#search=display%3Aflex
Look at this: https://css-tricks.com/complete-guide-table-element/看这个: https://css-tricks.com/complete-guide-table-element/
You should change all you'r view but it will be a little more easy.你应该改变所有你的看法,但这会更容易一些。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.