Month: March 2012
-
IE z-index bug and how to squash it …
A useful one to remember, because it’s cropped up in multiple sites recently. IE (at least up to 9) does not handle z-index correctly. New *positioned* elements create new stacking contexts, beginning at zero, so you can run into counter-intuitive behaviour like the following: <div id=”positioned-div” style=”position: relative;”> <div id=”inner-div” style=’z-index: 1000′> Hello world </div>…