No se si esto es lo que quieres:
Código HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Documento sin título</title>
<style>
.div0
{
border: 1px solid #000;
position: relative;
width: 100%;
height: 400px;
}
.div1
{
background: #F00;
width: 200px;
height: 200px;
z-index: 1;
position: absolute;
top: 10px;
left: 10px;
}
.div2
{
border: 1px solid #000;
background: #FF0;
width: 200px; height: 200px;
position: absolute;
top: 9px; left: 9px;
z-index: 2;
}
</style>
</head>
<body>
<div class="div0">
<div class="div1">div1</div>
<div class="div2">div2</div>
</div>
</body>
</html>
Saludos