Css 溢出:隐藏和浮动:IE6左侧

Css 溢出:隐藏和浮动:IE6左侧,css,css-float,Css,Css Float,只是为了陷害你。请看下面的代码 基本上,我在一个div中有一个表。当表太大时,溢出隐藏触发 问题:在IE6中,“某些文本”会按预期隐藏,但浮动的范围却没有。 有办法解决它吗 #wrap{ overflow:hidden; height:20px } span{ float:left; height:10px; width:10px; background:url(image.jpg) no-repeat 0 0; } <div id="wr

只是为了陷害你。请看下面的代码

基本上,我在一个div中有一个表。当表太大时,溢出隐藏触发

问题:在IE6中,“某些文本”会按预期隐藏,但浮动的范围却没有。
有办法解决它吗

#wrap{
    overflow:hidden;
    height:20px
}
span{
    float:left;
    height:10px;
    width:10px;
    background:url(image.jpg) no-repeat 0 0;
}

<div id="wrap">
  <table>
     <tr>
        <td><span></span> some text</td>
     </tr>
     <tr>
        <td><span></span> some text</td>
     </tr>
     <tr>
        <td><span></span> some text</td>
     </tr>
  </table>
</div>
#换行{
溢出:隐藏;
高度:20px
}
跨度{
浮动:左;
高度:10px;
宽度:10px;
背景:url(image.jpg)不重复0;
}
一些文本
一些文本
一些文本

尝试给出身高:1%;对于ie6 css。如下

包裹{
}

我知道您可能必须支持IE6,因为它在您的规范中。。。。但如果没有-如果有任何可能,你可以放弃对它的支持,请这样做。IE6真的需要死,我明白。我会给一个月的薪水来摆脱IE6。但另一方面,我的访客中约有5%使用IE6。我看不出问题所在,这在IE6中看起来是正确的。刚刚测试过,它和Firefox一样。我正式从我所有的项目中停止IE6。我已经感觉到一个新的人。。。
overflow:hidden;
height:%;