IE的overflow:scroll样式问题

页面样式中使用了 overflow:scroll;
在firefox中一直没有问题,但在IE中却总是没有效果,对一些过长的数据,IE的页面被撑大,失去了整齐的显示效果。
经过一番尝试,发现在ie6中,只有设定了width和height属性之后,overflow:scroll才会有效果。
没有办法,只好在使用到的地方添加上width属性。

  1. pre { overflow:scroll;width:480px;height:50px;}

Popularity: 7% [?]

Related

Comments

Comments are closed.