Limit on the number of selectors in a single css file under IE8_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:39:32
Original
1250 people have browsed it

Recently, we are fixing a strange problem in IE8. The reason is initially confirmed: the number of single CSS file selectors in IE8 is limited to 4095.

If the number of a.css selectors is greater than 4095, IE8 will truncate the redundant selectors by default, which may cause some styles of a.css to be loaded but not parsed by the IE8 browser.

Official description: https://msdn.microsoft.com/en-us/library/aa358796(VS.85).aspx

Testing tool: https://github.com/ t32k/stylestats

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template