z-index

要素の重なり順を指定するプロパティ。
z-indexプロパティの値は0を基準に、数値が大きいほど前面に配置される。負の値も指定可能。
positionプロパティでstatic以外の値が指定されている要素に適用される。

#nav{
  position: absolute;
  top: 10px; left: 20px;
  z-index: 3;
}
#content{
  position: relative;
  top: 30px;
  z-index: 0;
}
#footer{
  position: fixed;
  bottom: 10px;
  z-index: 5;
}
inserted by FC2 system