IE9 对 CSS 有文件大小限制吗?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/11080560/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-30 04:13:30  来源:igfitidea点击:

Does IE9 have a file size limit for CSS?

cssinternet-explorerinternet-explorer-9stylesheet

提问by Paul Sheldrake

I'm using Drupal and I notice that if I have my CSS files aggregated that the CSS doesn't always work correctly. I know there is a problem in IE7but is there a limit to a CSS file size in IE9?

我正在使用 Drupal,我注意到如果我聚合了我的 CSS 文件,CSS 并不总是能正常工作。我知道IE7中存在问题,但是 IE9 中的 CSS 文件大小是否有限制?

回答by Paul Sheldrake

There are 3 limits:

有3个限制:

Microsoft support/MSDN reference links:

Microsoft 支持/MSDN 参考链接:

http://support.microsoft.com/kb/262161

http://support.microsoft.com/kb/262161

http://blogs.msdn.com/b/ieinternals/archive/2011/05/14/internet-explorer-stylesheet-rule-selector-import-sheet-limit-maximum.aspx

http://blogs.msdn.com/b/ieinternals/archive/2011/05/14/internet-explorer-stylesheet-rule-selector-import-sheet-limit-maximum.aspx