IE11 表问题,TD 未显示



>我在客户端项目中使用一个简单的表,

<table>
    <thead>
        <tr>
            <th>content</th>
        </tr>
    </thead>
    <tbody>
        <tr>
            <td>more content</td>
        </tr>
    </tbody>
</table>

在 IE11 中,TH 中的内容可见,但 TD 中的内容不可见。 源代码中一切都很好,表格加载正常,但所有 TD 的行为都像空单元格。

有什么线索吗?

作为记录,- 该网站在Wordpress上,使用Visual Composer- 出于测试目的,我创建了一个仅包含表格而没有特定 CSS 的 emtpy 页面,仍然是相同的问题- 在IE11查看源代码中,一切都很好- 操作系统是Win Vista

尝试将标题行放在<头>中,将身体放在<正文中>中。

<table>
    <thead>
        <tr>
            <th>content</th>
        </tr>
    </thead>
    <tbody>
        <tr>
            <td>more content</td>
        </tr>
    </tbody>
</table>

将代码更改为以下内容:

<table>
    <thead>
        <tr>
            <th>content</th>
        </tr>
    </thead>
    <tbody>
        <tr>
            <td>more content</td>
        </tr>
    </tbody>
</table>

最新更新