复制代码代码如下: <div id="container"> <div id="box1">This box should be on top</div> </div> <div id="box2"> This box should not be on top; IE however seems to create a new stacking context for positioned elements, even when the computed z-index of that element is 'auto'. </div>