html - IE11 : very poor perfomance in rendering tables - any solutions?

标签 html css internet-explorer html-table

我的 Dom 结构如下所示:

enter image description here

在我的 html 网页上有 226 个 div,其对应的 ID 从“content-box1”到“content_box226”。这些内容框中的每一个都包含一个 svg 图片和一个带有 css 着色的 html 表格。同时只显示一个内容框。通过内容框的导航由 html-selectbox 和 jQuery 管理。

我的问题是这个网页在 IE11 中非常缺乏。为什么?尽管只显示一个内容框,InterExplorer11 是否会呈现所有内容框的所有 svg 和表格?我怎样才能避免这种行为?

最佳答案

对于 CSS,性能明智

visiblilty: hidden;

优于

display: none;

关于html - IE11 : very poor perfomance in rendering tables - any solutions?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37184932/

相关文章:

jquery - 滚动时有多个粘性元素

Javascript Internet Explorer 兼容性,函数未定义

jquery - 使用 jQuery 或类似工具从 CSS 文件中指定的样式中获取 "#myDiv:hover"样式

c# - 如何检查 Razor 中是否选中了 RadioButton?

javascript - 覆盖HTML标准化的图片宽度,防止第三方JS吹爆照片?

html - CSS 滚动填充顶部在 Safari 中不起作用

jquery - 悬停对话框检查屏幕上是否可见

html - 具有透明度的下拉菜单使用 RGBA 显示为黑色

jquery - 根据浏览器窗口动态更改表格大小

html - 在 IE 中设置 SELECT 的高度