开发者

Overlaying <span> doesn't work in IE6

开发者 https://www.devze.com 2022-12-14 21:41 出处:网络
<li> <span>overlay</span> content </li> li { position: relative; height:65px; overflow: hidden;
<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;
    positi开发者_JAVA百科on: absolute;
    top: 50px;
    left: 10px;
}

This works in all browsers except IE6, which just hides the SPAN somewhere. How do I fix it?

Thanks!


This here should guide you to the solution.

0

精彩评论

暂无评论...
验证码 换一张
取 消