我一直在使用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