好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

【CSSBUG】IE6奇数宽position定位_html/css_WEB-ITnose

问题描述:有嵌套的两个块定位,盒子宽为奇数时在IE6里有1px的bug。

IE6 和 FF 的表现如下

示例代码:

           * { margin: 0; padding: 0; }    .box { position: relative; width: 401px; height: 200px; background-color: blue; }    .inner { position: absolute; right: 0; top: 0; width: 100px; height: 200px; background-color: red; }   

查看更多关于【CSSBUG】IE6奇数宽position定位_html/css_WEB-ITnose的详细内容...

  阅读:41次