【发布时间】:2011-04-24 05:57:01
【问题描述】:
我有一个类似这样的无序列表
<ul>
<li>
<div>filled with other stuff</div>
</li>
<li>
<div>filled with other stuff</div>
</li>
<li>
<div>filled with other stuff</div>
</li>
</ul>
当我在 Safari 中查看列表时,列表显示错误,当我检查 html 时,我得到类似这样的信息
<ul>
<li>
<div>filled with other stuff</div>
<li>
<div>filled with other stuff</div>
<li>
<div>filled with other stuff</div>
</li>
</li>
</li>
</ul>
知道为什么这只发生在 Safari 中吗?
【问题讨论】:
-
无法在 Safari 5.0.2 或 Chrome 8 中重现(两者都使用 WebKit 来呈现 HTML)。你确定你的标记是正确的吗?
-
safari/webkit 有哪些版本?