假如你给某个层加了一个高度,当内容超出时,没有overflow:hidden;时,IE6默认会撑开,有时候会出现莫名布局错乱。
8.不能使用.class.class2
使用以上的css写法在ie6中不识别,这导致了,很多时候你不得不改变重构的策略,改用.class-class1的写法。
9.盒子模型解析不一致
在Quirks Mode中,盒子的宽度计算与Standards Mode的不同
在 IE 盒模型中,
box width = content width + padding left + padding right + border left + border right,
box height = content height + padding top + padding bottom + border top + border bottom,
而在 W3C 标准的盒模型中,box 的大小就是 content 的大小。










