Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/40.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Css InternetExplorer11中的Div大小,不';行不通_Css_Angularjs_Internet Explorer 11 - Fatal编程技术网

Css InternetExplorer11中的Div大小,不';行不通

Css InternetExplorer11中的Div大小,不';行不通,css,angularjs,internet-explorer-11,Css,Angularjs,Internet Explorer 11,我有一个角度应用程序,它也应该在IE11中工作:我如何编写一个与以下指令等效但对IE11也有效的程序 overflow-y: overlay; max-height: calc(100vh - 195px); 好的,答案如下: 1) 在主样式文件中: html, body { height:100%; } 2) 在具体部门: style="height: calc(100% - 100px); overflow-y: overlay;" 感谢您发布此问题的解决方案。我建议你试着在48小时后

我有一个角度应用程序,它也应该在IE11中工作:我如何编写一个与以下指令等效但对IE11也有效的程序

overflow-y: overlay;
max-height: calc(100vh - 195px);

好的,答案如下:

1) 在主样式文件中:

html, body { height:100%; }
2) 在具体部门:

style="height: calc(100% - 100px); overflow-y: overlay;"

感谢您发布此问题的解决方案。我建议你试着在48小时后将自己的答案标记为这个问题的可接受答案。它可以在未来帮助其他社区成员解决类似的问题。感谢您的理解。从何时开始,
overlay
overflow
的有效值?@已克隆(此值可能不是实际值)