标签: css internet-explorer
在我的本地我有IE 10,这个Css “top:expression(this.offsetParent.scrollTop-2);” 运行得很好。当我在客户端系统上托管时,在 IE11 中,顶级表达式无效。
top:expression(this.offsetParent.scrollTop-2);
检查css时被删除了。
我的应用程序仅适用于IE。在此先感谢:)
答案 0 :(得分:0)
根据this MSDN article:
Internet区域[在Internet Explorer 11中] 不再支持CSS表达式
Internet区域[在Internet Explorer 11中]
一般来说,考虑到浏览器支持和性能问题,应避免使用表达式。