CSS: Chaining classes does NOT work in Internet Explorer
Chaining classes in CSS declarations does NOT work in IE6, IE7 or even IE8. I can’t believe I just spent 4 hours debugging this…
For example: .span-16.last { width: 630px; } looks and works perfectly fine in Firefox and Safari/Webkit - it makes element <div class="span-16 last"> have a width of 630px.
But in any current version of IE, that actually means .last { width: 630px; }, so ANYTHING with the class of last (such as <p class="last"> also has the width of 630px.
Unbelievable.
Loading...
