【问题标题】:Overlaying <span> doesn't work in IE6覆盖 <span> 在 IE6 中不起作用
【发布时间】:2009-12-23 19:41:28
【问题描述】:
<li>
  <span>overlay</span>
  content
</li>


li {
   position: relative;
   height:65px;
   overflow: hidden;
}
li span {
    background: url(../img/bullet_grey.png) no-repeat;
    width: 20px;
    height: 20px;
    position: absolute;
    top: 50px;
    left: 10px;
}

这适用于除 IE6 之外的所有浏览器,它只是将 SPAN 隐藏在某处。我该如何解决?

谢谢!

【问题讨论】:

  • 如果我将此代码粘贴到 html 文档中,则跨度在 IE6 中可见。你能发布实际复制问题的 html 吗?

标签: html css internet-explorer


【解决方案1】:

here 应该会引导您找到解决方案。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-03-24
    • 2014-04-03
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多