请证实一下
IE5.5不支持CSS的overflow:hidden属性?如果是真的,有其他方法可以解决吗?IE6是否有此问题? 问题点数:20、回复次数:6Top
1 楼qiangsheng(做人很厚道)回复于 2002-01-20 18:06:58 得分 0
没人理?Top
2 楼global_boy(闲人)回复于 2002-01-21 01:04:40 得分 5
IE6可以支持。
http://www.global-boy.comTop
3 楼qiangsheng(做人很厚道)回复于 2002-01-21 09:59:18 得分 0
那就好,IE4呢?Top
4 楼jzsh2000(瘦猫)回复于 2002-01-21 13:37:41 得分 15
先等一下,有一点我需要声明一下,IE5.5是支持CSS的overflow:hidden属性的
首先我的机器装的就是IE5.5,我试过了,可以的(<textarea name="test" cols="20" rows="4" style="overflow:hidden"></textarea>
)
另外,我查了一下MSDN,它上面是这样解释的:
Remarks
The default value for the body element is auto.
Setting the overflow property to hidden on a TEXTAREA object hides its scroll bars.
Setting the overflow property to visible causes the content to clip to the size of the window or frame that contains the object.
This property is available on the Macintosh platform as of Microsoft? Internet Explorer 5.
Top
5 楼qiangsheng(做人很厚道)回复于 2002-01-21 13:44:39 得分 0
那你试一下DIV中行不行,我做了一个效果,是用层的,结果在5.5下不行。Top
6 楼qiangsheng(做人很厚道)回复于 2002-01-21 14:50:38 得分 0
我试过了,是用JavaScript写的一个效果,要动态的改变层的高度。
IE6也不行的,真的奇怪,
但是这样就可以,我想不通。
<html>
<body>
<div id="SML" style="position:absolute; overflow:hidden; top:100; left:100; width:100; height:100">
<table width="200">
<tr>
<td>
jskdahjkldsahf
jskdahjkldsahf
jskdahjkldsahf
jskdahjkldsahf
jskdahjkldsahf
jskdahjkldsahf
</td>
<tr>
</table>
</div>
</body>
</html>Top




