我在一个客户端项目中使用了一个简单的表,
<table>
<thead>
<tr>
<th>content</th>
</tr>
</thead>
<tbody>
<tr>
<td>more content</td>
</tr>
</tbody>
</table>
在IE11中,TH中的内容可见,但TD中的内容不可见。源代码中一切正常,表格加载正常,但所有TD都表现得像空单元格。
有什么线索吗?
对于记录,-网站是Wordpress,使用Visual Composer -为了测试目的,我创建了一个只有表的emtpy页面,没有特定的CSS,仍然是同样的问题-在IE11查看源代码,一切都很好-操作系统是with
发布于 2017-06-14 18:46:32
尝试将标题行放入a,并将正文放入。
<table>
<thead>
<tr>
<th>content</th>
</tr>
</thead>
<tbody>
<tr>
<td>more content</td>
</tr>
</tbody>
</table>
发布于 2017-06-14 18:48:30
将您的代码更改为:
<table>
<thead>
<tr>
<th>content</th>
</tr>
</thead>
<tbody>
<tr>
<td>more content</td>
</tr>
</tbody>
</table>
https://stackoverflow.com/questions/44542389
复制相似问题