IE9 does not load css fully
13,222
Bit late but for future visitors of this thread: I had the same problem and found out my project just had gotten too big. IE9 stops reading your stylesheet after 4095 selectors.
For reference: Does IE9 have a file size limit for CSS?
Comments
-
ole almost 2 years
I have css file:
<head> <link rel="stylesheet" type="text/css" href="/assets/application.css" media="screen" /> ... </head>
With all browsers everything is fine(chrome,ff,ie8,ie10,...), except IE9.
IE9 does not load css fully.
-
ole over 10 yearsNo luck. Problem that I'm using external libs like
semanti-ui
orfoundation
and I can't strip all "bad" selectors. -
Severin over 10 yearsHave you checked that those frameworks are compatible with IE?
-
ole over 10 yearsYep, compatibled with IE9.
-
Severin over 10 yearsHmm. You have probably tried inspecting the elements that don't get the right styling? Could it be that you use some vendor-prefixed selectors that are active in "normal" browsers but get ignored by IE?
-
ole over 9 yearsThanks, it seems to be true.