現在、z-index を使用して特定の順序でいくつかの DIV を配置しようとしていますが、jsfiddle で設定して、何か問題があるかどうかを確認してください。
後ろから順に並べるとこんな感じ。
赤 緑 青 黄
HTML
<div id="green">
<div id="yellow">
</div>
<div id="red">
</div>
</div>
<div id="blue">
</div>
CSS
#green{
background-color:green;
height:100px;
width:100%;
position:fixed;
top:0;
}
#red {
margin:-85px auto 0;
width:406px;
height:60px;
background-color:red;
z-index:-99999;
}
#blue{
margin:350px auto 0;
width:60px;
height:465px;
z-index:99999;
background-color:blue;
}
#yellow {
margin:0px auto 0;
width:170px;
height:170px;
background-color:yellow;
z-index:99999;
}