Bandit Design » Our Design Our Portfolio Contact Us
Tutorials TumbleLog Our Thoughts
Quite often at Bandit Design while we're working on your project, we'll stumble upon interesting or humourous things -- so we thought why not share them with the world!
RSS iPhone Random Archive « Home

Bandit Design

This is a TumbleLog authored at the desks of Bandit Design. We're a small web and graphic design studio based in Wellington, New Zealand.

Visit Bandit Design ยป

2 years ago

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.

1 note

Loading...