我一直在使用Google和grepping。尚未找到解决方案。我附上了一些示例html。这是由DNN中使用的第三方包生成的。 Chrome无法显示该元素(如上所述)。 IE9和FF都很好。任何意见赞赏。Chrome浏览器不会呈现div或span重访
<div>
<table align="left" sizcache="18" sizset="196" style="height: 100%;">
<tbody sizcache="18" sizset="196">
<tr>
<td>
<span>
I can see this element...
</span>
</td>
</tr>
<tr>
<td colspan="2">
<div style="width: 100%; height: 100%; overflow-x: auto; overflow-y: auto;">
<span style="width: 450px; height: 100px; display: inline-block;">
You can see me in IE9, Firefox, but not Chrome!!!
</span>
</div>
</td>
</tr>
<tr>
<td style="height: 10px;" colspan="2">
... and this element.
</td>
</tr>
</tbody>
</table>
</div>
我把你的代码扔到了一个HTML由TextPad生成的页面,它在Chrome中正常工作。 DocType是'<!DOCTYPE HTML PUBLIC“ - // W3C // DTD HTML 3.2 Final // EN”>'也许你的文档类型会让你的浏览器处于怪癖模式或类似的情况,并使它无法正常显示。如果你认为它会有所帮助,我可以放置整个样本页面。 – Tod
FYI将DocType更改为4.0,但未能显示。 – Tod