gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-11-28 16:19:11 26 4
gpt4 key购买 nike

我的 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/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com