IE 8对每页的样式表数量有限制吗? [英] Does IE 8 have a limit on number of stylesheets per page?

查看:215
本文介绍了IE 8对每页的样式表数量有限制吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

关于CSS的答案 ,用户说:


Internet Explorer 据说限制为4096个CSS 规则参考

Internet Explorer has is said to have a limit of 4096 CSS rules per file. Reference

此外,它对您可以嵌入单个文档的样式表数量有限制。

Also, it has a limit on the number of style sheets you can embed in a single document. I think it is 20.

虽然 MSDN上的参考似乎确认了这一点(还有一个博客文章,在IE7中确认这一点),IE8还是这样吗?

While the reference on MSDN seems to confirm this (and there's a blog post which confirms this in IE7), is this still the case for IE8?

推荐答案

是的,IE8(甚至IE9显然)将样式表的数量限制为每页31个。

Yes, IE8 (and even IE9 apparently) limit the number of style sheets to 31 per page.

Telerik有文章测试页,以演示该问题。根据同一篇文章中的评论,每个文件限制的4096规则已标记为在Microsoft Connect中无法修复,但我无法验证。

Telerik has an article and test page which demonstrate the issue. According to comments in the same article, the 4096 rules per file limitation has been marked as Won't Fix in Microsoft Connect but I've been unable to verify that.

这篇关于IE 8对每页的样式表数量有限制吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆