Z座標を指定する

z-index:
  auto|数値
;
戻る
複数の領域を重ねて表示するときの順番を指定できます。 数値が大きいほど上になります。
IE4では画面からはみ出た部分を表示するためにスクロールできますが、 IE5ではこのページがスクロールができなくなってしまっています。 NN6ではスクロールして下まで表示できます。
pre{
  z-index:2;
  position:absolute;
  left:32;
  top:32;
  width:256;
  height:128;
  border-style:solid;
  overflow:scroll;
  font-weight:bold;
  background:transparent;
  color:brown;
  white-space:pre;
}
pre{
  z-index:1;
  left:192;
  top:96;
  position:absolute;
  font-size:large;
  background:transparent;
  border-style:solid;
  font-weight:bold;
  color:blue;
  white-space:pre;
}
pre{
  z-index:0;
  left:388;
  top:64;
  position:absolute;
  background-image:url(back.gif);
  white-space:pre;
}
pre{
  z-index:-1;
  left:64;
  top:128;
  position:absolute;
  color:aquamarine;
  font-weight:bold;
  font-size:x-large;
  line-height:100%;
  white-space:pre;
}