Closed adamalbrecht closed 12 years ago
I resolved this. I had some unnecessary import statements to Bootstrap's variables.less and mixins.less and, for whatever reason, the extra css that this added caused something that IE didn't like.
Just for further information:
The problem is IE: http://support.microsoft.com/kb/262161 IE doesn't allow more than 4,095 rules in CSS and also as you mentioned too many @import request are a problem in IE.
And also if you're using RoR there's some workarounds to fix this:
http://bindle.me/blog/index.php/200/splitting-the-asset-destroying-arcane-ie-bugs-on-the-rails-rack
and also the gem:
https://github.com/zweilove/css_splitter
Cheers. Andrés Ortiz
I can't quite deduce what particular syntax is causing it, but the CSS code that is used in production (after being combined and compressed) breaks in IE. Not all of it, but something in the syntax is causing IE to simply stop reading the rest of my styles beyond a certain point.
This is probably caused by Bootstrap itself rather than this Gem, but I figured that someone in here may have experienced the same thing.